Skip to content

Commit

Permalink
More cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
afisk committed Oct 25, 2009
1 parent 6ceb55a commit ca4162e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions run.bash
@@ -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"

0 comments on commit ca4162e

Please sign in to comment.