Got resource bundling working
This commit is contained in:
18
metar.nimble
Normal file
18
metar.nimble
Normal file
@@ -0,0 +1,18 @@
|
||||
# Package
|
||||
|
||||
version = "0.1.0"
|
||||
author = "Zoe Moore"
|
||||
description = "Aviation metar weather checking app"
|
||||
license = "GPL-3.0-or-later"
|
||||
bin = @["metar"]
|
||||
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires @["nim >= 1.4.8", "nimqml >= 0.9.0"]
|
||||
|
||||
task build, "Compile the binary":
|
||||
exec ("nim -d:ssl -d:release c metar")
|
||||
|
||||
before build:
|
||||
exec ("rcc --binary resources.qrc -o metar.rcc")
|
||||
Reference in New Issue
Block a user