mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-22 12:58:26 +00:00
Add a test file for nimble
This commit is contained in:
parent
31ca212f86
commit
e73c3d2378
23
tests/syntax-tests/source/nim/test.nimble
vendored
Normal file
23
tests/syntax-tests/source/nim/test.nimble
vendored
Normal file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user