-
Notifications
You must be signed in to change notification settings - Fork 2
/
justfile
63 lines (47 loc) · 1 KB
/
justfile
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@_default:
just --list
# installs/updates all dependencies
@bootstrap:
docker-compose pull
docker-compose build
# invoked by continuous integration servers to run tests
@cibuild:
just bootstrap
@clean:
rm -rf .vendor _site Gemfile.lock
# opens a console
@console:
echo "TODO: console"
@restart:
docker-compose restart
# starts app
@server *ARGS:
docker-compose up {{ ARGS }}
# sets up a project to be used for the first time
@setup:
just bootstrap
@start +ARGS="--detach":
just server {{ ARGS }}
@stop:
docker-compose down
@tail:
docker-compose logs --follow --tail 100
# runs tests
@test:
echo "TODO: test"
# updates a project to run at its current version
@update:
just bootstrap
# ----
@fmt:
just --fmt --unstable
@lint:
djhtml \
--in-place \
--tabwidth 2 \
*.html _includes/*.html _layouts/*.html
rustywind \
--write \
.
@screenshots ARGS="--no-clobber":
shot-scraper multi {{ ARGS }} ./shots.yml