mirror of
https://github.com/zedeus/nitter.git
synced 2026-03-04 13:19:57 -05:00
* Update actions and switch to GitHub runners * Bump workflow Python version to 3.14 * Reuse nitter build for integration test * Add missing libpcre3 installation to workflow * Consolidate workflow runtime deps install * Make nitter binary executable * Run nimble md and scss simultaneously in workflow * Run tests with 4 workers in workflow * Rerun failing integration tests * Bump integration test workers to 5 * Improve python dep install and run less workers * Use native GitHub Actions Redis service * Lower integration test workers to 2 * Switch to poetry to cache venv * Ensure poetry is installed before setup-python * Fix poetry sync command * Switch back to 3 workers * Cache poetry install * WIP * WIP * Fix poetry/pipx caching * Speed up integration test significantly * WIP * Cleanup
35 lines
769 B
Nim
35 lines
769 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 >= 2.0.0"
|
|
requires "jester#baca3f"
|
|
requires "karax#5cf360c"
|
|
requires "sass#7dfdd03"
|
|
requires "nimcrypto#a079df9"
|
|
requires "markdown#158efe3"
|
|
requires "packedjson#9e6fbb6"
|
|
requires "supersnappy#6c94198"
|
|
requires "redpool#8b7c1db"
|
|
requires "https://github.com/zedeus/redis#d0a0e6f"
|
|
requires "zippy#ca5989a"
|
|
requires "flatty#e668085"
|
|
requires "jsony#1de1f08"
|
|
requires "oauth#b8c163b"
|
|
|
|
# Tasks
|
|
|
|
task scss, "Generate css":
|
|
exec "nim r --hint[Processing]:off tools/gencss"
|
|
|
|
task md, "Render md":
|
|
exec "nim r --hint[Processing]:off tools/rendermd"
|