diff --git a/ci/browser_tests.sh b/ci/browser_tests.sh index 5b4c27ce40..93da0c55cc 100755 --- a/ci/browser_tests.sh +++ b/ci/browser_tests.sh @@ -4,14 +4,7 @@ set -e setupRemixd () { mkdir remixdSharedfolder - cd remixdSharedfolder - echo "contract test1 { function get () returns (uint) { return 8; }}" > contract1.sol - echo "contract test2 { function get () returns (uint) { return 9; }}" > contract2.sol - mkdir folder1 - cd folder1 - echo "contract test1 { function get () returns (uint) { return 10; }}" > contract1.sol - echo "contract test2 { function get () returns (uint) { return 11; }}" > contract2.sol - cd .. + cd contracts echo 'sharing folder: ' echo $PWD node ../node_modules/remixd/src/main.js -s $PWD & diff --git a/contracts/contract1.sol b/contracts/contract1.sol new file mode 100644 index 0000000000..4abefc018b --- /dev/null +++ b/contracts/contract1.sol @@ -0,0 +1 @@ +contract test1 { function get () returns (uint) { return 8; }} \ No newline at end of file diff --git a/contracts/contract2.sol b/contracts/contract2.sol new file mode 100644 index 0000000000..96b59660ba --- /dev/null +++ b/contracts/contract2.sol @@ -0,0 +1 @@ +contract test2 { function get () returns (uint) { return 9; }} \ No newline at end of file diff --git a/contracts/folder1/contract1.sol b/contracts/folder1/contract1.sol new file mode 100644 index 0000000000..11122d3008 --- /dev/null +++ b/contracts/folder1/contract1.sol @@ -0,0 +1 @@ +contract test1 { function get () returns (uint) { return 10; }} \ No newline at end of file diff --git a/contracts/folder1/contract2.sol b/contracts/folder1/contract2.sol new file mode 100644 index 0000000000..04f9b2eb26 --- /dev/null +++ b/contracts/folder1/contract2.sol @@ -0,0 +1 @@ +contract test2 { function get () returns (uint) { return 11; }} \ No newline at end of file