Add a test file for nimble
commite73c3d23787bb9488e80130a9b82d60c60f6523a
authorFiregem <mrfiregem@protonmail.ch>
dateWed 5 Jan 2022, 18:13 (5 years ago)
parent31ca212
tests/syntax-tests/source/nim/test.nimblenew file+23
@@ -0,0 +1,23 @@
1+version = "0.1.0"
2+author = "creator_name"
3+description = "Tests nimble syntax highlighting"
4+license = "custom"
5+
6+bin = @["test"]
7+srcdir = "src"
8+installExt = @["nim"]
9+
10+# Dependencies
11+
12+requires "nim >= 1.6.2"
13+
14+when defined(nimdistros):
15+ import distros
16+ if detectOs(Ubuntu):
17+ foreignDep "external_lib"
18+ else:
19+ foreignDep "other_lib"
20+
21+task test, "Runs a task called 'test'":
22+ withDir "tests":
23+ exec "nim c -r tester"