forked from hexlet-basics/exercises-pre-course-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (25 loc) · 813 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
-include /opt/basics/common/common.mk
compose-setup: compose-build
compose:
docker-compose up
compose-build:
docker-compose build
code-lint:
java -jar /opt/checkstyle.jar -c checkstyle.xml modules src
compile:
@(for i in $$(find . -type f -name Main.java); do javac $$(dirname $$i)/*.java ; done)
clean:
@$$(find . -type f -name *.class -delete)
compose-bash:
docker-compose run exercises bash
compose-test:
docker-compose run exercises make test
compose-code-lint:
docker-compose run exercises make code-lint
compose-description-lint:
docker-compose run exercises make description-lint
compose-schema-validate:
docker-compose run exercises make schema-validate
ci-check:
docker-compose --file docker-compose.yml build
docker-compose --file docker-compose.yml up --abort-on-container-exit