mirror of
https://github.com/status-im/nimqml.git
synced 2025-02-23 03:48:19 +00:00
Update the nimble build script
This commit is contained in:
parent
efd1a29927
commit
27d74fba71
@ -5,15 +5,14 @@ author = "Filippo Cucchetto"
|
|||||||
description = "resourcebundling"
|
description = "resourcebundling"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
bin = @["resourcebundling"]
|
bin = @["main"]
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires "nimqml >= 0.5.0"
|
requires "nimqml >= 0.5.0"
|
||||||
|
|
||||||
task compileresources, "Compile the qrc into rcc":
|
task build, "Compile the binary":
|
||||||
exec ("rcc --binary resources.qrc -o main.rcc")
|
exec ("nim c main")
|
||||||
setCommand("nop")
|
|
||||||
|
|
||||||
task compilebinary, "Compile the binary":
|
before build:
|
||||||
setCommand "c"
|
exec ("rcc --binary resources.qrc -o main.rcc")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user