-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c83ad49
commit b6b883c
Showing
5 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
@echo off | ||
|
||
REM Remove old builds and rebuild | ||
RM target/*.jar | ||
mvn package | ||
mvn assembly:assembly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Remove old build and rebuild | ||
rm target/*.jar | ||
mvn package | ||
mvn assembly:assembly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
@echo off | ||
|
||
REM TODO: check if jar doesn't exist prompt user to run | ||
REM build.bat first | ||
|
||
java -jar target/uya-medius-tool-*-jar-with-dependencies.jar $@ | ||
pause | ||
|
||
PAUSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -f target/uya-medius-tool-*-jar-with-dependencies.jar ]; then | ||
echo -e "$(tput bold)$(tput setaf 1)Error: run ./build.sh first!$(tput sgr0)" | ||
exit 1 | ||
fi | ||
|
||
java -jar target/uya-medius-tool-*-jar-with-dependencies.jar $@ |