-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (31 loc) · 826 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
38
39
40
41
42
43
44
45
46
47
48
.DEFAULT_GOAL := build-execute
setup:
mvn -N io.takari:maven:wrapper -Dmaven=3.6.3
lint-default:
./mvnw checkstyle:checkstyle
lint-google:
./mvnw checkstyle:check -Dcheckstyle.config.location=./checkstyle/google_checks.xml
lint-spring:
./mvnw checkstyle:check -Dcheckstyle.config.location=./checkstyle/spring-checkstyle.xml
format-spring:
./mvnw spring-javaformat:apply
clean:
./mvnw clean
compile:
./mvnw compiler:compile
build:
./mvnw package
rebuild: clean build
run:
./mvnw spring-boot:run
open-chrome:
google-chrome --incognito --new-window http://localhost:8080
open-firefox:
firefox --incognito --new-window http://localhost:8080
open: open-chrome
lint: lint-default lint-google lint-spring
run_browse:
./open-browser.sh & make run
build-execute: lint rebuild run_browse
code:
code-oss $@