35 lines
766 B
Nim
35 lines
766 B
Nim
# Package
|
|
|
|
version = "0.1.0"
|
|
author = "zedeus"
|
|
description = "An alternative front-end for Twitter"
|
|
license = "AGPL-3.0"
|
|
srcDir = "src"
|
|
bin = @["nitter"]
|
|
|
|
|
|
# Dependencies
|
|
|
|
requires "nim >= 1.4.8"
|
|
requires "jester#3e128fe"
|
|
requires "karax#c71bc92"
|
|
requires "sass#e683aa1"
|
|
requires "nimcrypto#a5742a9"
|
|
requires "markdown#abdbe5e"
|
|
requires "packedjson#d11d167"
|
|
requires "supersnappy#2.1.1"
|
|
requires "redpool#f880f49"
|
|
requires "https://github.com/zedeus/redis#d0a0e6f"
|
|
requires "zippy#0.7.3"
|
|
requires "flatty#0.2.3"
|
|
requires "jsony#d0e69bd"
|
|
|
|
|
|
# Tasks
|
|
|
|
task scss, "Generate css":
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/gencss"
|
|
|
|
task md, "Render md":
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/rendermd"
|