Skip to content

Commit

Permalink
Modified IMP build.sh script to fix where jars are copied to (per Min…
Browse files Browse the repository at this point in the history
…g's email) also changed script to use 'mvn' from wherever it is installed instead of Ming's hardcoded path
  • Loading branch information
ericvanwyk committed Sep 26, 2013
1 parent 99bdf36 commit 61bc770
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions runtime/imp/build.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/bin/bash

BUILD_COMM="/home/patrick/maven3/bin/mvn"
# On CS machines, load the module 'java/maven'
# On personal machines, make sure 'mvn' is in your path.
BUILD_COMM="mvn"

if [ ! -d ../../jars ]; then
echo "In wrong directory? Run from silver/runtime/imp as ./build.sh"
exit 1
fi

CURR_DIR=`pwd`

cd edu.umn.cs.melt.copper
$BUILD_COMM clean install
cd $CURR_DIR
cd ..

cd edu.umn.cs.melt.silver
$BUILD_COMM clean install
cd $CURR_DIR
cd ..

cd main
$BUILD_COMM clean package
cp target/edu.umn.cs.melt.ide.copper-*.jar $CURR_DIR
cp target/edu.umn.cs.melt.ide.copper-*.jar ../../../jars

cd $CURR_DIR

0 comments on commit 61bc770

Please sign in to comment.