mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-16 12:27:24 +00:00
A quick hack for wallet-tool until I learn Maven better.
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Check if the jar has been built.
|
# Check if the jar has been built.
|
||||||
if [ ! -e target/bitcoinj-tools-*.jar ]; then
|
if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then
|
||||||
echo "Compiling WalletTool to a JAR"
|
echo "Compiling WalletTool to a JAR"
|
||||||
mvn -q package -DskipTests
|
cd ../core
|
||||||
|
mvn install -DskipTests
|
||||||
|
cd ../tools
|
||||||
|
rm target/bitcoinj-tools-*.jar
|
||||||
|
mvn package -DskipTests
|
||||||
fi
|
fi
|
||||||
|
|
||||||
java -jar target/bitcoinj-tools-*.jar $*
|
java -jar target/bitcoinj-tools-*.jar $*
|
||||||
|
|||||||
Reference in New Issue
Block a user