Skip to content

Commit

Permalink
Update alias for JAR - remove Rancher
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Apr 19, 2019
1 parent 721a48c commit ac6e433
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions jhipster.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ alias jhcontroller='jhipster spring-controller'
alias jhlang='jhipster languages'
alias jhinfo='jhipster info'
alias jhcompose='jhipster docker-compose'
alias jhrancher='jhipster rancher-compose'
alias jhcicd='jhipster ci-cd'

alias jhcf='jhipster cloudfoundry'
Expand Down Expand Up @@ -59,17 +58,17 @@ jhrun() {

jhpack() {
if [[ -a mvnw ]]; then
./mvnw -Pprod package
./mvnw -Pprod verify
elif [[ -a gradlew ]]; then
./gradlew -Pprod bootWar --no-daemon
./gradlew -Pprod bootJar --no-daemon
fi
}

jhdock() {
if [[ -a mvnw ]]; then
./mvnw package -Pprod jib:dockerBuild
./mvnw verify -Pprod jib:dockerBuild
elif [[ -a gradlew ]]; then
./gradlew bootWar -Pprod jibDockerBuild --no-daemon
./gradlew bootJar -Pprod jibDockerBuild --no-daemon
fi
}

Expand Down

0 comments on commit ac6e433

Please sign in to comment.