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"]
|
||||
path = ui/submodules/poa-bridge-contracts
|
||||
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
|
||||
|
||||
To initialize submodules:
|
||||
|
||||
`git submodule update --init`
|
||||
|
||||
To install dependencies:
|
||||
|
||||
`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-e2e",
|
||||
"ui",
|
||||
"monitor"
|
||||
"monitor",
|
||||
"contracts"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "yarn workspace ui run build",
|
||||
"lint": "yarn wsrun --exclude oracle-e2e lint",
|
||||
"build": "yarn workspace poa-parity-bridge-contracts run compile && yarn workspace ui run build",
|
||||
"lint": "yarn wsrun --exclude oracle-e2e --exclude poa-parity-bridge-contracts lint",
|
||||
"test": "yarn wsrun --exclude monitor --exclude oracle-e2e test",
|
||||
"ansible-lint": "./deployment/lint.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