Moved -d:release to nimble file, renamed wrc20.nims to config.nims
This commit is contained in:
parent
49db84dcd9
commit
a77ee65615
|
@ -9,7 +9,7 @@ skipDirs = @["examples"]
|
|||
requires "nim >= 0.18.1", "stint"
|
||||
|
||||
proc buildExample(name: string) =
|
||||
exec "nim c --out:examples/" & name & ".wasm examples/" & name
|
||||
exec "nim c -d:release --out:examples/" & name & ".wasm examples/" & name
|
||||
exec "./postprocess.sh examples/" & name & ".wasm"
|
||||
|
||||
task examples, "Build examples":
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
--cpu:i386
|
||||
--cc:clang
|
||||
--gc:none
|
||||
--d:release
|
||||
--nomain
|
||||
--opt:speed
|
||||
|
Loading…
Reference in New Issue