Got resource bundling working

This commit is contained in:
2022-04-01 16:46:57 -07:00
parent a5ef038823
commit fa3bc3cafe
5 changed files with 30 additions and 1 deletions

18
metar.nimble Normal file
View 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")