summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2023-10-05 16:09:20 +0200
committerNao Pross <np@0hm.ch>2023-10-05 16:54:13 +0200
commit68f57b366ef2aa6f9a7d01f23282dd6b6ed8b008 (patch)
tree80514c40ce2f7d5568b2a3d520b1a67b8c7545e1 /Makefile
parentPass TestFiniteSetProperties (diff)
downloadact4e-68f57b366ef2aa6f9a7d01f23282dd6b6ed8b008.tar.gz
act4e-68f57b366ef2aa6f9a7d01f23282dd6b6ed8b008.zip
Setup file to keep track of homeworks and create shorthand in makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2165229..084e1f5 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,13 @@ docker-check-%: build
docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) \
act4e-test --collections act4e_checks --module act4e_solutions --group $*
+check-latest: Homeworks.md build
+ docker run -it --rm $(tag) act4e-test --collections act4e_checks --module \
+ act4e_solutions --group $(shell grep -e "- \[ \] " $< | tr -d "\- [ ]" | head -n1)
+
# check:
# act4e-test --collections act4e_checks --module act4e_solutions
# check-%:
-# act4e-test --collections act4e_checks --module act4e_solutions --group $* \ No newline at end of file
+# act4e-test --collections act4e_checks --module act4e_solutions --group $*
+