Skip to content

Commit

Permalink
feature: deploy mocks if MOCKS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Ino Murko committed Dec 17, 2019
1 parent c05b445 commit b664877
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plasma_framework/migrations/9_deploy_mocks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var Contract = artifacts.require("PaymentEip712LibMock");
module.exports = function(deployer) {
const mocks = process.env.MOCKS || false;
if (mocks) {
deployer.deploy(Contract);
}
};

0 comments on commit b664877

Please sign in to comment.