bat/tests/syntax-tests/highlighted/nim/test.nimble

24 lines
1.8 KiB
Nim
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"