-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (25 loc) · 671 Bytes
/
Makefile
File metadata and controls
38 lines (25 loc) · 671 Bytes
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
38
# DO NOT EDIT THIS FILE
SUBMIT := $(wildcard src/main/java/org/cis1200/**/*.java src/test/java/org/cis1200/**/*.java src/main/java/org/cis1200/Game.java files/** README.txt)
HWNAME := hw09
ts := $(shell /bin/date "+%Y-%m-%d-%H:%M:%S")
ZIPNAME := $(HWNAME)-submit($(ts)).zip
.PHONY: all compile run zip test test-stack-trace checkstyle format clean
all:
compile:
mvn compile
run: compile
mvn exec:java
zip: $(SUBMIT)
zip -j '$(ZIPNAME)' $(SUBMIT)
test:
mvn test
test-stack-trace:
mvn -DtrimStackTrace=false test
checkstyle:
mvn checkstyle:checkstyle
format:
mvn formatter:format
clean:
rm -f src/*.class bin/* test/*.class
rm -rf *.zip
mvn clean