twtxtlist/twtxtlist.nimble

28 lines
604 B
Plaintext
Raw Normal View History

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 23:14:55 +00:00
bin = @["twtxtlist", "worker"]
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-07 20:48:43 +00:00
task godep, "build go deps":
withDir "src/time":
exec "go build -buildmode=c-shared -o gotime.so time.go"
exec "cp gotime.so ../.."
2016-02-06 15:54:55 +00:00
task run, "Run app":
exec "nimble build"
2016-02-07 20:48:43 +00:00
exec "nimble godep"
2016-02-06 15:54:55 +00:00
exec "./twtxtlist"