Skip to content

Commit

Permalink
test: Add a script to setup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Jul 19, 2023
1 parent 571f2af commit 9b0b0f5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/setup-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Run this from the same directory
TEST_DIR=$(pwd)
cd ../..
# get websocket demo repository
git clone https://github.com/jfclere/httpd_websocket
cd httpd_websocket
mvn install || exit 1
cp target/websocket-hello-0.0.1.war $TEST_DIR
cd ..

# get mod_cluster (Java/Tomcat part)
git clone https://github.com/modcluster/mod_cluster
cd mod_cluster
mvn install || exit 2
cd $TEST_DIR

# prepare jars
mvn dependency:copy-dependencies

0 comments on commit 9b0b0f5

Please sign in to comment.