Skip to content

Commit f2a96e4

Browse files
committed
Fixed #106, Fixed #109, Fixed #110
1 parent 570fd4c commit f2a96e4

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,7 @@
434434
</activation>
435435
<build>
436436
<finalName>simpleworklist</finalName>
437-
<defaultGoal>clean spring-boot:run</defaultGoal>
438-
<!--
439-
<defaultGoal>clean install dependency:sources dependency:resolve dependency:resolve-plugins dependency:tree/defaultGoal>
440-
-->
437+
<defaultGoal>clean dependency:list install spring-boot:run</defaultGoal>
441438
<plugins>
442439
<plugin>
443440
<groupId>org.springframework.boot</groupId>

run.sh

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,38 @@
22

33
source setenv.sh
44

5+
6+
7+
function runDev() {
8+
./mvnw
9+
}
10+
11+
function runGithubTestBuild() {
12+
./mvnw -B package --file pom.xml
13+
}
14+
15+
516
function setupHeroku() {
617
heroku login
718
heroku ps -a simpleworklist
819
}
920

21+
function buildLikeHeroku() {
22+
./mvnw -DskipTests clean dependency:list install
23+
}
24+
1025
function runHerokuLocal() {
26+
buildLikeHeroku
1127
heroku ps -a simpleworklist
1228
./mvnw clean install
1329
heroku local web
1430
heroku open
1531
}
1632

17-
function runDev() {
18-
./mvnw clean install
19-
}
20-
21-
function runGithubTestBuild() {
22-
./mvnw -B package --file pom.xml
23-
}
24-
2533
function main() {
26-
runDev
34+
#runDev
2735
#setupHeroku
28-
#runHerokuLocal
36+
runHerokuLocal
2937
}
3038

3139
main

0 commit comments

Comments
 (0)