Merge pull request #48 from poanetwork/contracts-submodule
Introduce contracts submodule
This commit is contained in:
commit
daaf8891ae
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
|||||||
[submodule "ui/submodules/poa-bridge-contracts"]
|
[submodule "ui/submodules/poa-bridge-contracts"]
|
||||||
path = ui/submodules/poa-bridge-contracts
|
path = ui/submodules/poa-bridge-contracts
|
||||||
url = https://github.com/poanetwork/poa-bridge-contracts.git
|
url = https://github.com/poanetwork/poa-bridge-contracts.git
|
||||||
|
[submodule "contracts"]
|
||||||
|
path = contracts
|
||||||
|
url = https://github.com/poanetwork/poa-bridge-contracts.git
|
||||||
|
@ -44,6 +44,10 @@ The POA TokenBridge provides three operational modes:
|
|||||||
|
|
||||||
## Building, running, linting & tests
|
## Building, running, linting & tests
|
||||||
|
|
||||||
|
To initialize submodules:
|
||||||
|
|
||||||
|
`git submodule update --init`
|
||||||
|
|
||||||
To install dependencies:
|
To install dependencies:
|
||||||
|
|
||||||
`yarn install`
|
`yarn install`
|
||||||
|
1
contracts
Submodule
1
contracts
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 492f6d010a1324676801df918f0449965e770c64
|
10
package.json
10
package.json
@ -13,14 +13,16 @@
|
|||||||
"oracle",
|
"oracle",
|
||||||
"oracle-e2e",
|
"oracle-e2e",
|
||||||
"ui",
|
"ui",
|
||||||
"monitor"
|
"monitor",
|
||||||
|
"contracts"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn workspace ui run build",
|
"build": "yarn workspace poa-parity-bridge-contracts run compile && yarn workspace ui run build",
|
||||||
"lint": "yarn wsrun --exclude oracle-e2e lint",
|
"lint": "yarn wsrun --exclude oracle-e2e --exclude poa-parity-bridge-contracts lint",
|
||||||
"test": "yarn wsrun --exclude monitor --exclude oracle-e2e test",
|
"test": "yarn wsrun --exclude monitor --exclude oracle-e2e test",
|
||||||
"ansible-lint": "./deployment/lint.sh",
|
"ansible-lint": "./deployment/lint.sh",
|
||||||
"oracle-e2e": "./oracle-e2e/run-tests.sh",
|
"oracle-e2e": "./oracle-e2e/run-tests.sh",
|
||||||
"clean": "rm -rf ./node_modules ./**/node_modules"
|
"clean": "rm -rf ./node_modules ./**/node_modules",
|
||||||
|
"postinstall": "ln -s $(pwd)/node_modules/openzeppelin-solidity/ contracts/node_modules/openzeppelin-solidity"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user