mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-25 03:45:30 +00:00
use deps instead of onDeploy
This commit is contained in:
parent
a895e839fa
commit
c5e29b7844
@ -60,7 +60,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
SomeContract: {
|
SomeContract: {
|
||||||
deployIf: 'await MyToken.methods.isAvailable().call()',
|
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: [
|
args: [
|
||||||
["$MyToken2", "$SimpleStorage"],
|
["$MyToken2", "$SimpleStorage"],
|
||||||
100
|
100
|
||||||
|
Loading…
x
Reference in New Issue
Block a user