-
Notifications
You must be signed in to change notification settings - Fork 0
/
call_status.nimble
45 lines (32 loc) · 1.47 KB
/
call_status.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
38
39
40
41
42
43
44
45
# Package
version = "0.6.5"
author = "Andrew Seward"
description = "Note who's on a call so you can avoid interrupting them."
license = "MIT"
srcDir = "src"
bin = @["call_status_checker", "call_status_cli", "web"]
# Dependencies
requires "argparse >= 2.0.0 & <= 2.0.0"
requires "jester >= 0.5.0"
requires "nim >= 1.6.0"
requires "https://github.com/awseward/heroku_database_url_splitter"
requires "https://github.com/awseward/nim-junk-drawer#9ff04c5c70b2fe5d24f951f0ff8f408a108ee059"
requires "https://github.com/awseward/nimassets#0.2.0"
# Tasks
# See: https://web.archive.org/web/20200515050555/https://www.rockyourcode.com/how-to-serve-static-files-with-nim-and-jester-on-heroku/
task assets, "Generate packaged assets":
exec "script/misc.sh _nimble_assets"
task deps, "Install dependencies":
exec "script/misc.sh _nimble_deps"
task docs, "Generate documentation":
exec "script/misc.sh _nimble_docs"
task pretty, "Run nimpretty on all .nim files in the repo":
exec "script/misc.sh _nimble_pretty"
task watch_web, "Watch for changes and reload web accordingly":
exec "script/misc.sh _nimble_watch_web"
task watch_zoom, "Simulate a Zoom-watching daemon (launchd LaunchAgent on MacOS)":
exec "script/misc.sh _nimble_watch_zoom"
task simulate_call_zoom, "Simulate a zoom call":
exec "script/misc.sh _nimble_simulate_call_zoom"
task heroku_build, "Steps to perform during the heroku build phase":
exec "script/misc.sh _nimble_heroku_build"