Skip to content

Commit

Permalink
Merge pull request apache#65 from Shopify/kevincox-better-watch
Browse files Browse the repository at this point in the history
Make watch use sbt.
  • Loading branch information
kevincox committed Aug 24, 2015
2 parents 24c40b7 + bb25ebd commit f0565d6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions script/watch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -x
set -e

FWDIR="$(cd `dirname $0`/..; pwd)"
export HADOOP_OPTIONS="$(cat $FWDIR/SHOPIFY_HADOOP_OPTIONS)"
export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
build/mvn $HADOOP_OPTIONS -T1C scala:cc
build/sbt clean assembly
export SPARK_PREPEND_CLASSES=true
build/sbt ~compile

0 comments on commit f0565d6

Please sign in to comment.