Compiling the contracts

This commit is contained in:
rzadp 2019-05-21 09:49:42 +02:00
parent a55cb4cb3f
commit 6aa9921ef1
2 changed files with 2 additions and 1 deletions

@ -14,5 +14,6 @@ COPY yarn.lock .
RUN yarn install RUN yarn install
COPY . . COPY . .
RUN yarn workspace poa-parity-bridge-contracts run compile
RUN yarn workspace ui run compile:contracts RUN yarn workspace ui run compile:contracts
RUN cd contracts/deploy && rm -f package-lock.json && npm install RUN cd contracts/deploy && rm -f package-lock.json && npm install

@ -24,7 +24,7 @@
"ansible-lint": "./deployment/lint.sh", "ansible-lint": "./deployment/lint.sh",
"oracle-e2e": "./oracle-e2e/run-tests.sh", "oracle-e2e": "./oracle-e2e/run-tests.sh",
"ui-e2e": "./ui-e2e/run-tests.sh", "ui-e2e": "./ui-e2e/run-tests.sh",
"clean": "rm -rf ./node_modules ./**/node_modules ./**/**/node_modules", "clean": "rm -rf ./node_modules ./**/node_modules ./**/**/node_modules ./**/build",
"postinstall": "ln -s $(pwd)/node_modules/openzeppelin-solidity/ contracts/node_modules/openzeppelin-solidity" "postinstall": "ln -s $(pwd)/node_modules/openzeppelin-solidity/ contracts/node_modules/openzeppelin-solidity"
} }
} }