aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bytecodecompare
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-09 23:17:41 +0800
committerchriseth <chris@ethereum.org>2017-06-15 00:59:23 +0800
commita87b22c1229f9f5bec8dafd43d42365c7459a7c7 (patch)
tree28d304284da7dab999ac660f9be64ae7944460d1 /scripts/bytecodecompare
parentf008ddf83646f6002a61a123cc94ad195a35dce4 (diff)
downloaddexon-solidity-a87b22c1229f9f5bec8dafd43d42365c7459a7c7.tar.gz
dexon-solidity-a87b22c1229f9f5bec8dafd43d42365c7459a7c7.tar.zst
dexon-solidity-a87b22c1229f9f5bec8dafd43d42365c7459a7c7.zip
Change windows CI to use the same bytecode directory as linux.
Diffstat (limited to 'scripts/bytecodecompare')
-rw-r--r--scripts/bytecodecompare/storebytecode.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bytecodecompare/storebytecode.bat b/scripts/bytecodecompare/storebytecode.bat
index 969a42a4..aa829d20 100644
--- a/scripts/bytecodecompare/storebytecode.bat
+++ b/scripts/bytecodecompare/storebytecode.bat
@@ -20,7 +20,7 @@ REM Copyright (c) 2017 solidity contributors.
REM ---------------------------------------------------------------------------
set CONFIGURATION=%1
-set COMMIT=%2
+set DIRECTORY=%2
mkdir bytecode
cd bytecode
@@ -33,8 +33,8 @@ git config user.name "travis"
git config user.email "chris@ethereum.org"
git clean -f -d -x
-mkdir %COMMIT%
-set REPORT=%COMMIT%/windows.txt
+if not exist %DIRECTORY% mkdir %DIRECTORY%
+set REPORT=%DIRECTORY%/windows.txt
cp ../report.txt %REPORT%
git add %REPORT%
git commit -a -m "Added report."