mirror of
https://github.com/status-im/nimqml.git
synced 2025-02-22 19:38:22 +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"
|
||||
license = "MIT"
|
||||
|
||||
bin = @["resourcebundling"]
|
||||
bin = @["main"]
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nimqml >= 0.5.0"
|
||||
|
||||
task compileresources, "Compile the qrc into rcc":
|
||||
exec ("rcc --binary resources.qrc -o main.rcc")
|
||||
setCommand("nop")
|
||||
task build, "Compile the binary":
|
||||
exec ("nim c main")
|
||||
|
||||
task compilebinary, "Compile the binary":
|
||||
setCommand "c"
|
||||
before build:
|
||||
exec ("rcc --binary resources.qrc -o main.rcc")
|
||||
|
Loading…
x
Reference in New Issue
Block a user