-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtorci.nimble
37 lines (30 loc) · 853 Bytes
/
torci.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Package
version = "0.1.3"
author = "Luca (@nonnil)"
description = "Web-based GUI for TorBox."
license = "GPL-3.0"
srcDir = "src"
bin = @["torci"]
skipDirs = @["tests", "mockups"]
# Dependencies
requires "nim >= 1.5.0"
requires "jester >= 0.5.0"
requires "karax >= 1.2.1"
requires "sass"
requires "libcurl >= 1.0.0"
requires "bcrypt >= 0.2.1"
requires "result >= 0.3.0"
requires "validateip >= 0.1.2"
requires "optionsutils >= 1.2.0"
requires "resultsutils >= 0.1.6"
requires "redis >= 0.3.0"
requires "jsony >= 1.1.3"
requires "toml_serialization >= 0.2.3"
task scss, "Generate css":
exec "nim r tools/gencss"
task tests, "Run tests":
exec "nimble -d:test test -y"
task redis, "Run tests in Docker container":
exec "testament p tests/sandbox/tests"
task fulltest, "":
exec "sudo docker-compose up"