mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-24 19:38:22 +00:00
use deps instead of onDeploy
This commit is contained in:
parent
a895e839fa
commit
c5e29b7844
@ -60,7 +60,7 @@ module.exports = {
|
||||
},
|
||||
SomeContract: {
|
||||
deployIf: 'await MyToken.methods.isAvailable().call()',
|
||||
onDeploy: ['$MyToken'], // Needed because otherwise Embark doesn't know that we depend on MyToken. Would be cleaner with `dependsOn`
|
||||
deps: ['MyToken'],
|
||||
args: [
|
||||
["$MyToken2", "$SimpleStorage"],
|
||||
100
|
||||
|
Loading…
x
Reference in New Issue
Block a user