Skip to content

Commit

Permalink
reorganize mac deps install script files and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbarnett-rice committed Jul 14, 2017
1 parent 935b540 commit 88a94b1
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 29 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ls#!/bin/bash
#!/bin/bash

# Copyright 2017 Rice University
#
Expand All @@ -14,19 +14,16 @@ ls#!/bin/bash
# See the License for the specific language governing permissions and
# limitations under the License.

apt-get update
apt-get install openjdk-8-jdk maven zip

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ../../maven_3_3_9/bayou
cd ../maven_3_3_9/bayou
mvn clean package
cp target/bayou-1.0.0-jar-with-dependencies.jar $SCRIPT_DIR
cp -r ../../../src/main/python $SCRIPT_DIR
cp -r ../../../src/main/resources $SCRIPT_DIR
cp ../../../src/main/bash/binary_release/ubuntu_16_4/*.sh $SCRIPT_DIR
cp ../../../src/main/bash/binary_release/*.sh $SCRIPT_DIR
cp -r target/bayou-1.0.0-jar-with-dependencies.jar $SCRIPT_DIR
cp -r ../../../example_inputs $SCRIPT_DIR
cd $SCRIPT_DIR
mv bayou-1.0.0-jar-with-dependencies.jar bayou-1.0.0.jar
zip -r bayou-1.0.0-ubuntu-16.01.zip bayou-1.0.0.jar example_inputs install_dependencies.sh start_bayou.sh synthesize.sh python resources
rm -r bayou-1.0.0.jar example_inputs install_dependencies.sh start_bayou.sh synthesize.sh python resources
zip -r bayou-1.0.0.zip bayou-1.0.0.jar example_inputs install_dependencies_apt.sh install_dependencies_mac.sh start_bayou.sh synthesize.sh python resources
rm -r bayou-1.0.0.jar example_inputs install_dependencies_apt.sh install_dependencies_mac.sh start_bayou.sh synthesize.sh python resources
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.

apt-get update
apt-get install openjdk-8-jdk maven
apt-get install openjdk-8-jdk maven zip
2 changes: 1 addition & 1 deletion tool_files/build_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mvn clean package
cp target/bayou-1.0.0-jar-with-dependencies.jar $BUILD_DIR
cp -r ../../../src/main/python $BUILD_DIR
cp -r ../../../src/main/resources $BUILD_DIR
cp ../../../src/main/bash/binary_release/ubuntu_16_4/*.sh $BUILD_DIR
cp ../../../src/main/bash/binary_release/*.sh $BUILD_DIR
cp target/bayou-1.0.0-jar-with-dependencies.jar $BUILD_DIR
cp -r ../../../example_inputs $BUILD_DIR
cd $BUILD_DIR
Expand Down
19 changes: 0 additions & 19 deletions tool_files/build_scripts/install_deps_mac.sh

This file was deleted.

0 comments on commit 88a94b1

Please sign in to comment.