aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/release_ppa.sh
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-11-08 23:41:25 +0800
committerchriseth <c@ethdev.com>2016-11-08 23:41:25 +0800
commitdc8a5f4ef5505f2aeb017dfa4c9aca77a9fd93aa (patch)
treeee0916b7a6227394557d804705380b98c65100c2 /scripts/release_ppa.sh
parent8a4fb2d89c09a726a78957e457d438095af56e16 (diff)
downloaddexon-solidity-dc8a5f4ef5505f2aeb017dfa4c9aca77a9fd93aa.tar.gz
dexon-solidity-dc8a5f4ef5505f2aeb017dfa4c9aca77a9fd93aa.tar.zst
dexon-solidity-dc8a5f4ef5505f2aeb017dfa4c9aca77a9fd93aa.zip
Fetch jsoncpp tarball during ppa release.
Diffstat (limited to 'scripts/release_ppa.sh')
-rwxr-xr-xscripts/release_ppa.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh
index 39003795..86288c47 100755
--- a/scripts/release_ppa.sh
+++ b/scripts/release_ppa.sh
@@ -49,6 +49,10 @@ cd $distribution
git clone --recursive https://github.com/ethereum/solidity.git -b "$branch"
mv solidity solc
+# Fetch jsoncpp dependency
+mkdir -p ./solc/deps/downloads/ 2>/dev/null || true
+wget -O ./solc/deps/downloads/jsoncpp-1.7.7.tar.gz https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz
+
# Determine version
cd solc
version=`grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? CMakeLists.txt`