Skip to content

Commit a937a86

Browse files
committed
justfile: Add iterstatic and itertests
1 parent 000f655 commit a937a86

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

bin/iterstatic.sh

-12
This file was deleted.

justfile

+27
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,33 @@ release:
2929
git push origin "$tag"
3030
git push origin trunk
3131

32+
iterstatic:
33+
#!/bin/bash
34+
tox -e static --notest
35+
exec watchexec \
36+
--watch css \
37+
--watch img \
38+
--watch vendor \
39+
--watch bin \
40+
--on-busy-update=queue \
41+
--shell=none \
42+
-- \
43+
.tox/static/bin/python bin/compile-static.py --no-compress
44+
45+
itertests +args='yarrharr':
46+
#!/bin/bash
47+
tox -e test --develop --notest
48+
export YARRHARR_CONF=./yarrharr/tests/dev.ini
49+
export YARRHARR_TESTING=yes
50+
export DJANGO_SETTINGS_MODULE=yarrharr.settings
51+
export PYTHONDONTWRITEBYTECODE=yes
52+
exec watchexec \
53+
--watch yarrharr \
54+
--on-busy-update=queue \
55+
--shell=none \
56+
-- \
57+
.tox/test/bin/pytest -vvv ./yarrharr "$@"
58+
3259
devserver: _static
3360
tox -e run -- django-admin migrate
3461
tox -e run -- django-admin updatehtml

0 commit comments

Comments
 (0)