mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-25 04:59:39 +00:00
1aeb6fd83b
This commit enables new `beforeDeploy` deployment hooks. With this change it's possible to add `beforeDeploy` to either `contracts: {}` within the contracts configuration, or an individual contract. For example: ``` contracts: { SimpleStorage: { beforeDeploy: async (context) => { } } } ``` Runs the hook before `SimpleStorage` will be deployed. Whereas ``` contracts: { ... beforeDeploy: async () => { } } will be executed before *all* Smart Contracts will be deployed.
embark-specialconfigs
Adds various configs to embark's contract.js config file
Visit embark.status.im to get started with Embark.