Skip to content

Commit b3396e1

Browse files
committed
.
1 parent b575528 commit b3396e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

latex/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ tmp/check-done: .gitignore flake.nix ms.bib ms.tex
4141
checkcites tmp/ms.aux && \
4242
chktex ms.tex && \
4343
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 && \
4545
test $$(basename $$(pwd)) = 'latex'"
4646
touch $@

latex/python/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tmp/check-done: .gitignore flake.nix main.py
3737
ruff check --cache-dir tmp/ruff --exit-non-zero-on-fix --fix --select ALL --unsafe-fixes main.py && \
3838
mypy --cache-dir tmp/mypy --ignore-missing-imports --strict main.py && \
3939
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 && \
4242
test $$(basename $$(pwd)) = 'python'"
4343
touch $@

0 commit comments

Comments
 (0)