Skip to content
This repository was archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
Fixed run command
Browse files Browse the repository at this point in the history
  • Loading branch information
miere committed Feb 2, 2016
1 parent 691046e commit 5ca59e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions conf/setup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ LOGBACK_CLASSIC=https://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.
LOGBACK_CORE=https://repo1.maven.org/maven2/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar
MVN_LOGFILE=$KDIR/conf/logging.xml

# Auto created by 'kikaha setup'
export MAVEN_OPTS="-Dlogback.configurationFile=/home/miere/Development/Skullabs/kikaha-cli/conf/logging.xml"
export M2_HOME="/home/miere/Development/Skullabs/kikaha-cli/work/mvn"
export PATH="$M2_HOME/bin:/home/miere/.sdkman/candidates/grails/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/miere/Programs/jdk1.8.0_31/bin:/home/miere/Programs/apache-maven-3.2.5/bin:/home/miere/Development/Skullabs/kikaha-cli:/home/miere/Development/scripts"
10 changes: 8 additions & 2 deletions plugins/plugin.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ build_move_to(){
else
info "$action current project (and its modules)."
fi

}

build_build(){
Expand Down Expand Up @@ -70,13 +69,20 @@ build_clean(){
$MVN clean
}

build_test(){
build_move_to "Testing" $1
build_requires_pom
$MVN clean test
}

build_help(){
cat <<EOF
--[ available commands ]--------------------------
$(grape build): full build of all modules
$(grape clean): clean up the current workspace
$(grape package): generate a package from a module
$(grape run): run a module
$(grape run_app): run a module
$(grape test): test a module (or all modules)
$(grape help): print this help message
--[ available config variables ]------------------
Expand Down

0 comments on commit 5ca59e4

Please sign in to comment.