summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 68d3fe1e8f63454ce81d724bafa8e2d44522c3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
all:

tag=act4e-image

build: 
	# 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 $(tag) \
		act4e-test --collections act4e_checks --module act4e_solutions


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 $*