aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test_emscripten.sh
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-30 18:30:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-01 18:25:02 +0800
commitf13feed7f26aba22396ec1728a51a96fd9bd65e3 (patch)
tree4bf79d4b56ff37e4e600158c523116cde7b67c21 /scripts/test_emscripten.sh
parentb0e4555db37006f1a72c4dd793aef6d69f70f4df (diff)
downloaddexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.gz
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.zst
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.zip
Add script to retrieve version
Diffstat (limited to 'scripts/test_emscripten.sh')
-rwxr-xr-xscripts/test_emscripten.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh
index aa93ed94..a2dbe61c 100755
--- a/scripts/test_emscripten.sh
+++ b/scripts/test_emscripten.sh
@@ -45,7 +45,7 @@ rm -f soljson.js
cp ../solc/soljson.js soljson.js
# Update version (needed for some tests)
-VERSION=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt)
+VERSION=$(../../scripts/get_version.sh)
echo "Updating package.json to version $VERSION"
npm version $VERSION