Initial version

This commit is contained in:
Ganesh Viswanathan 2018-08-19 17:52:04 -05:00
commit 325ef7a8d4
6 changed files with 163 additions and 0 deletions

30
nimui.nimble Normal file
View file

@ -0,0 +1,30 @@
# 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"