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"
|
requires "nim >= 0.18.1", "stint"
|
||||||
|
|
||||||
proc buildExample(name: string) =
|
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"
|
exec "./postprocess.sh examples/" & name & ".wasm"
|
||||||
|
|
||||||
task examples, "Build examples":
|
task examples, "Build examples":
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
--cpu:i386
|
--cpu:i386
|
||||||
--cc:clang
|
--cc:clang
|
||||||
--gc:none
|
--gc:none
|
||||||
--d:release
|
|
||||||
--nomain
|
--nomain
|
||||||
--opt:speed
|
--opt:speed
|
||||||
|
|
Loading…
Reference in New Issue