Merge pull request #1338 from ethereum/updatereleasppa

Fetch jsoncpp tarball during ppa release.
This commit is contained in:
chriseth 2016-11-08 16:57:17 +01:00 committed by GitHub
commit 6f2bc0d201

View File

@ -49,6 +49,10 @@ cd $distribution
git clone --recursive https://github.com/ethereum/solidity.git -b "$branch" git clone --recursive https://github.com/ethereum/solidity.git -b "$branch"
mv solidity solc 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 # Determine version
cd solc cd solc
version=`grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? CMakeLists.txt` version=`grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? CMakeLists.txt`