Skip to content

Commit

Permalink
script to do mvn package
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandaBernardo committed Sep 10, 2014
1 parent 7666b87 commit 428c86b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ tmp/
node_modules/
src/main/webapp/css/mamute
target-grunt/
.tmp/
.tmp/
.mamute-build/
6 changes: 6 additions & 0 deletions mvn-package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
APPLICATION_DIR=`readlink -f $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )`
TEMP_FOLDER_NAME=".mamute-build"
TEMP_FOLDER="${APPLICATION_DIR}/${TEMP_FOLDER_NAME}"
rsync -av --delete --exclude=${TEMP_FOLDER_NAME} . ${TEMP_FOLDER}
cd ${TEMP_FOLDER}
mvn package -DskipTests

0 comments on commit 428c86b

Please sign in to comment.