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"
|
|
|
|
bin = @["nitter"]
|
|
|
|
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
2021-12-20 02:08:29 +01:00
|
|
|
requires "nim >= 1.4.8"
|
2020-11-07 21:46:03 +01:00
|
|
|
requires "jester >= 0.5.0"
|
2021-12-26 03:06:52 +01:00
|
|
|
requires "karax#c71bc92"
|
2020-11-07 21:46:03 +01:00
|
|
|
requires "sass#e683aa1"
|
2021-12-26 03:06:52 +01:00
|
|
|
requires "nimcrypto#a5742a9"
|
2020-11-07 21:46:03 +01:00
|
|
|
requires "markdown#abdbe5e"
|
2021-08-21 17:13:38 +02:00
|
|
|
requires "packedjson#d11d167"
|
2021-12-26 03:06:52 +01:00
|
|
|
requires "supersnappy#2.1.1"
|
2021-08-07 00:53:16 +02:00
|
|
|
requires "redpool#f880f49"
|
2021-12-26 03:06:52 +01:00
|
|
|
requires "https://github.com/zedeus/redis#d0a0e6f"
|
2021-12-26 06:49:27 +01:00
|
|
|
requires "zippy#0.7.3"
|
2021-12-26 23:01:19 +01:00
|
|
|
requires "flatty#0.2.3"
|
2022-01-13 00:36:30 +01:00
|
|
|
requires "jsony#1.1.3"
|
2019-09-13 10:54:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Tasks
|
|
|
|
|
|
|
|
task scss, "Generate css":
|
2021-12-27 18:05:09 +01:00
|
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/gencss"
|
2022-01-09 23:14:01 +01:00
|
|
|
|
|
|
|
task md, "Render md":
|
|
|
|
exec "nim c --hint[Processing]:off -d:danger -r tools/rendermd"
|