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