nimui/nimui.nimble
Ganesh Viswanathan 325ef7a8d4 Initial version
2018-08-19 17:52:04 -05:00

30 lines
No EOL
484 B
Nim

# Package
version = "0.1.0"
author = "genotrance"
description = "libui wrapper for Nim"
license = "MIT"
skipDirs = @["tests"]
# Dependencies
requires "nimgen >= 0.4.0"
import distros
var cmd = ""
var ldpath = ""
var ext = ""
if detectOs(Windows):
cmd = "cmd /c "
ext = ".exe"
task setup, "Download and generate":
exec cmd & "nimgen nimui.cfg"
before install:
setupTask()
task test, "Test nimui":
exec "nim cpp --app:gui tests/tui.nim"