-
Notifications
You must be signed in to change notification settings - Fork 25
/
illwill.nimble
37 lines (29 loc) · 1.2 KB
/
illwill.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Package
version = "0.4.1"
author = "John Novak <john@johnnovak.net>"
description = "A curses inspired simple cross-platform console library for Nim"
license = "WTFPL"
skipDirs = @["doc", "examples", "img"]
# Dependencies
requires "nim >= 1.6.10"
task examples, "Compiles the examples":
exec "nim c -d:release examples/boxdrawing.nim"
exec "nim c -d:release examples/drawtest.nim"
exec "nim c -d:release examples/fullscreen.nim"
exec "nim c -d:release examples/keycodes.nim"
exec "nim c -d:release examples/readmeexample.nim"
exec "nim c -d:release examples/simplekeycodes.nim"
exec "nim c -d:release examples/mouse.nim"
exec "nim c -d:release examples/mouseMinimal.nim"
exec "nim c -d:release examples/transparency.nim"
task examplesDebug, "Compiles the examples (debug mode)":
exec "nim c examples/boxdrawing.nim"
exec "nim c examples/drawtest.nim"
exec "nim c examples/fullscreen.nim"
exec "nim c examples/keycodes.nim"
exec "nim c examples/readmeexample.nim"
exec "nim c examples/simplekeycodes.nim"
exec "nim c examples/mouse.nim"
exec "nim c examples/transparency.nim"
task docgen, "Generate HTML documentation":
exec "nim doc -o:doc/illwill.html illwill"