2019-06-20 14:16:20 +00:00
|
|
|
# Package
|
|
|
|
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "zedeus"
|
|
|
|
description = "An alternative front-end for Twitter"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
srcDir = "src"
|
|
|
|
bin = @["nitter"]
|
|
|
|
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
2021-12-20 01:08:29 +00:00
|
|
|
requires "nim >= 1.4.8"
|
2020-11-07 20:46:03 +00:00
|
|
|
requires "jester >= 0.5.0"
|
2021-12-26 02:06:52 +00:00
|
|
|
requires "karax#c71bc92"
|
2020-11-07 20:46:03 +00:00
|
|
|
requires "sass#e683aa1"
|
2021-12-26 02:06:52 +00:00
|
|
|
requires "nimcrypto#a5742a9"
|
2020-11-07 20:46:03 +00:00
|
|
|
requires "markdown#abdbe5e"
|
2021-08-21 15:13:38 +00:00
|
|
|
requires "packedjson#d11d167"
|
2021-12-26 02:06:52 +00:00
|
|
|
requires "supersnappy#2.1.1"
|
2021-08-06 22:53:16 +00:00
|
|
|
requires "redpool#f880f49"
|
2021-12-26 02:06:52 +00:00
|
|
|
requires "https://github.com/zedeus/redis#d0a0e6f"
|
2021-12-26 05:49:27 +00:00
|
|
|
requires "zippy#0.7.3"
|
2021-12-26 22:01:19 +00:00
|
|
|
requires "flatty#0.2.3"
|
2022-01-14 18:34:26 +00:00
|
|
|
requires "jsony#d0e69bd"
|
2019-09-13 08:54:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Tasks
|
|
|
|
|
|
|
|
task scss, "Generate css":
|
2021-12-27 17:05:09 +00:00
|
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/gencss"
|
2022-01-09 22:14:01 +00:00
|
|
|
|
|
|
|
task md, "Render md":
|
|
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/rendermd"
|