Change build directory

This commit is contained in:
Mattia Giambirtone 2024-02-20 17:19:58 +01:00
parent c5450a9e19
commit b0b7739a63
Signed by: nocturn9x
GPG Key ID: 8270F9F467971E59
2 changed files with 7 additions and 2 deletions

5
.gitignore vendored
View File

@ -143,4 +143,7 @@ dmypy.json
# Cython debug symbols
cython_debug/
tests/test.pn
tests/test.pn
# Binary stuff
bin/

View File

@ -6,6 +6,7 @@ description = "A rewrite of Peon 0.1.x"
license = "Apache-2.0"
srcDir = "src"
bin = @["peon"]
binDir = "bin"
# Dependencies
@ -16,5 +17,6 @@ requires "jale >= 0.1.1"
before build:
exec "nimble test"
task test, "Runs the test suite":
exec "nim r tests/tokenize.nim"
exec "nim r tests/tokenize.nim"