diff options
author | Firegem <mrfiregem@protonmail.ch> | 2022-01-05 18:13:42 -0500 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2022-01-06 13:08:38 +0100 |
commit | e73c3d23787bb9488e80130a9b82d60c60f6523a (patch) | |
tree | 8afa6ff1c68e1371ce131e719c35ad3f8ec2c26e | |
parent | 31ca212f861d9a32a89497ad5555d73da59270de (diff) |
Add a test file for nimble
-rw-r--r-- | tests/syntax-tests/source/nim/test.nimble | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/syntax-tests/source/nim/test.nimble b/tests/syntax-tests/source/nim/test.nimble new file mode 100644 index 00000000..052544df --- /dev/null +++ b/tests/syntax-tests/source/nim/test.nimble @@ -0,0 +1,23 @@ +version = "0.1.0" +author = "creator_name" +description = "Tests nimble syntax highlighting" +license = "custom" + +bin = @["test"] +srcdir = "src" +installExt = @["nim"] + +# Dependencies + +requires "nim >= 1.6.2" + +when defined(nimdistros): + import distros + if detectOs(Ubuntu): + foreignDep "external_lib" + else: + foreignDep "other_lib" + +task test, "Runs a task called 'test'": + withDir "tests": + exec "nim c -r tester" |