Make truffle migrations directory configurable
This commit is contained in:
parent
148034a4d6
commit
7824587d0f
|
@ -1,3 +1,7 @@
|
|||
# Migrations Metadata
|
||||
MIGRATIONS_DIR=./migrations/test
|
||||
MIGRATIONS_NETWORK=development
|
||||
|
||||
# Wormhole Core Migrations
|
||||
INIT_SIGNERS=["0xbeFA429d57cD18b7F8A4d91A2da9AB4AF05d0FBe"]
|
||||
INIT_CHAIN_ID=0x2
|
||||
|
|
|
@ -2,6 +2,7 @@ require("dotenv").config({ path: ".env" });
|
|||
const HDWalletProvider = require("@truffle/hdwallet-provider");
|
||||
|
||||
module.exports = {
|
||||
migrations_directory: process.env.MIGRATIONS_DIR,
|
||||
networks: {
|
||||
development: {
|
||||
host: "127.0.0.1",
|
||||
|
|
Loading…
Reference in New Issue