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
afisk
committed
Oct 25, 2009
1 parent
6ceb55a
commit ca4162e
Showing
1 changed file
with
3 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/usr/bin/env bash | ||
function die() | ||
{ | ||
function die() { | ||
echo $* | ||
exit 1 | ||
} | ||
|
||
mvn clean | ||
mvn clean || die "Could not clean?" | ||
mvn package || die "Could not package proxy" | ||
cd target || die "No target dir?" | ||
java -jar littleproxy-0.1.jar $* || die "Java process exited abnormally" | ||
java -jar target/littleproxy-0.1.jar $* || die "Java process exited abnormally" |