aboutsummaryrefslogtreecommitdiff
path: root/test cases/swift
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-07 21:12:23 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-07 21:12:23 +0200
commitd92504797f50ea3a4abcd8f8d0ee1d903abca8af (patch)
tree51a5bff7e4dd3806554ea51cbda0e43788379815 /test cases/swift
parentd5bdfb5906563f031c17cfa9564a03ed475053b9 (diff)
downloadmeson-d92504797f50ea3a4abcd8f8d0ee1d903abca8af.zip
meson-d92504797f50ea3a4abcd8f8d0ee1d903abca8af.tar.gz
meson-d92504797f50ea3a4abcd8f8d0ee1d903abca8af.tar.bz2
Can build simple Swift executables.
Diffstat (limited to 'test cases/swift')
-rw-r--r--test cases/swift/1 exe/meson.build3
-rw-r--r--test cases/swift/1 exe/prog.swift1
2 files changed, 4 insertions, 0 deletions
diff --git a/test cases/swift/1 exe/meson.build b/test cases/swift/1 exe/meson.build
new file mode 100644
index 0000000..f986e9a
--- /dev/null
+++ b/test cases/swift/1 exe/meson.build
@@ -0,0 +1,3 @@
+project('swift exe', 'swift')
+
+test('swifttest', executable('swifttest', 'prog.swift'))
diff --git a/test cases/swift/1 exe/prog.swift b/test cases/swift/1 exe/prog.swift
new file mode 100644
index 0000000..1b489de
--- /dev/null
+++ b/test cases/swift/1 exe/prog.swift
@@ -0,0 +1 @@
+print("Swift executable is working.")