2016-02-05 19:44:50 +00:00
|
|
|
# Package
|
|
|
|
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "Christine Dodrill"
|
|
|
|
description = "a list of twtxt hacker feeds"
|
|
|
|
license = "MIT"
|
|
|
|
srcDir = "src"
|
2016-02-06 16:41:23 +00:00
|
|
|
bin = @["twtxtlist", "twtxt"]
|
2016-02-05 19:44:50 +00:00
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
2016-02-06 15:54:55 +00:00
|
|
|
requires "nim >= 0.13.0", "jester", "moustachu", "shorturl"
|
2016-02-05 19:44:50 +00:00
|
|
|
|
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
|
|
|
|
task db, "SQLite database prompt":
|
|
|
|
exec "sqlite3 data/twtxt.db"
|
|
|
|
|
2016-02-06 15:54:55 +00:00
|
|
|
task run, "Run app":
|
|
|
|
exec "nimble build"
|
2016-02-06 16:48:10 +00:00
|
|
|
exec "./twtxt &"
|
2016-02-06 15:54:55 +00:00
|
|
|
exec "./twtxtlist"
|
2016-02-06 16:48:10 +00:00
|
|
|
exec "killall twtxt"
|