Skip to content

Commit

Permalink
infrastructure: add fetch_dependency.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesZ-Chen committed Dec 16, 2016
1 parent 8dabc1d commit 5d11c34
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fetch_dependency.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_DIR=$(cd $(dirname "$0") && pwd)

##### build hacked checkstyle
if [ ! -d $SCRIPT_DIR/checkstyle ] ; then
(cd $SCRIPT_DIR && git clone --depth 1 --branch multiDeclJson https://github.com/CharlesZ-Chen/checkstyle.git)
(cd $SCRIPT_DIR/checkstyle && mvn clean package -Passembly)
fi
(cd $SCRIPT_DIR/checkstyle && git pull)

0 comments on commit 5d11c34

Please sign in to comment.