Skip to content

Commit b84bb7c

Browse files
created Makefile
1 parent 5b98076 commit b84bb7c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
clean:
2+
./gradlew clean
3+
4+
test:
5+
./gradlew test
6+
7+
reload-classes:
8+
./gradlew -t classes
9+
10+
start-prod:
11+
./gradlew bootRun --args='--spring.profiles.active=prod'
12+
13+
install:
14+
./gradlew installDist
15+
16+
lint:
17+
./gradlew checkstyleMain checkstyleTest
18+
19+
help:
20+
@echo "make start-prod - launch Spring Boot in the production profile"
21+
@echo "make install - build a self-sufficient distribution"
22+
@echo "make clean - remove build artifacts"
23+
@echo "make test - run all the tests"
24+
@echo "make lint - perform code verification via Checkstyle"
25+
@echo "make reload-classes - auto-reassembly of classes with changes"
26+
27+
.PHONY: test clean reload-classes start-prod install lint help

0 commit comments

Comments
 (0)