Output to bin directory
This commit is contained in:
@@ -6,16 +6,17 @@ author = "luxick"
|
||||
description = "Play an image slide show from different sources"
|
||||
license = "GPL-2.0"
|
||||
srcDir = "src"
|
||||
binDir = "bin"
|
||||
bin = @["randopix", "pixctrl"]
|
||||
|
||||
# Dependencies
|
||||
requires "nim >= 1.0.0", "gintro >= 0.5.5", "argparse >=0.10.1", "jester"
|
||||
requires "nim >= 1.0.0", "gintro", "argparse", "jester"
|
||||
|
||||
task genJS, "Generate the Javascript client":
|
||||
exec "nim js --out:src/resources/script.js src/pixscript.nim"
|
||||
exec "nim js -o:src/resources/script.js src/pixscript.nim"
|
||||
|
||||
task debug, "Compile debug version":
|
||||
exec "nim c -d:debug --debugger:native --out:randopix src/randopix.nim"
|
||||
exec "nim c -d:debug --debugger:native -o:bin/randopix src/randopix.nim"
|
||||
|
||||
task release, "Compile release version":
|
||||
exec fmt"nim c -d:release --out:randopix-{version} src/randopix.nim"
|
||||
exec fmt"nim c -d:release -o:bin/randopix-{version} src/randopix.nim"
|
||||
|
||||
Reference in New Issue
Block a user