summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9c80517..68d3fe1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,11 @@ all:
tag=act4e-image
build:
- docker build -f .devcontainer/Dockerfile --build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} -t $(tag) .
+ # docker build -f .devcontainer/Dockerfile --build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} -t $(tag) .
+ docker build -f Dockerfile --build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} -t $(tag) .
docker-check: build
- docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) \
+ docker run -it --rm $(tag) \
act4e-test --collections act4e_checks --module act4e_solutions
@@ -14,8 +15,12 @@ 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 $*