File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,6 @@ tmp/check-done: .gitignore flake.nix ms.bib ms.tex
41
41
checkcites tmp/ms.aux && \
42
42
chktex ms.tex && \
43
43
lacheck ms.tex && \
44
- if ls -ap | grep -v -E -x './|../|.gitignore|Makefile|flake.lock|flake.nix|ms.bib|ms.tex|prm/|python/|tmp/' | grep -q .; then exit 1; fi && \
44
+ ls -ap | grep -v -E -x './|../|.gitignore|Makefile|flake.lock|flake.nix|ms.bib|ms.tex|prm/|python/|tmp/' | grep -q . && exit 1 || true && \
45
45
test $$(basename $$(pwd)) = 'latex'"
46
46
touch $@
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ tmp/check-done: .gitignore flake.nix main.py
37
37
ruff check --cache-dir tmp/ruff --exit-non-zero-on-fix --fix --select ALL --unsafe-fixes main.py && \
38
38
mypy --cache-dir tmp/mypy --ignore-missing-imports --strict main.py && \
39
39
if [ -d ' templates/' ]; then djlint templates/ --lint --profile=jinja --quiet --reformat; fi && \
40
- [ -z $$ STAGE ] && exit 0 || (unset STAGE && pydoc -w main && mv main.html tmp/) && \
41
- if ls -ap | grep -v -E -x ' ./|../|.env|.gitignore|Makefile|flake.lock|flake.nix|main.py|prm/|python/|result|static/|templates/|tmp/' | grep -q . ; then exit 1; fi && \
40
+ [ -z $$ STAGE ] || (unset STAGE && pydoc -w main && mv main.html tmp/) && \
41
+ ls -ap | grep -v -E -x ' ./|../|.env|.gitignore|Makefile|flake.lock|flake.nix|main.py|prm/|pyproject.toml| python/|result|static/|templates/|tmp/' | grep -q . && exit 1 || true && \
42
42
test $$(basename $$(pwd ) ) = ' python' "
43
43
touch $@
You can’t perform that action at this time.
0 commit comments