From d7c67ffcf75c3b8b3d41e3b87e12a67a6afc3c53 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 20 Jul 2018 16:10:58 +0300 Subject: [PATCH] move blockchain process related files into blockchain module --- lib/index.js | 2 +- .../blockchain => modules/blockchain_process}/blockchain.js | 0 .../blockchain_process}/blockchainProcess.js | 0 .../blockchain => modules/blockchain_process}/geth_commands.js | 0 lib/{cmds/blockchain => modules/blockchain_process}/miner.js | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename lib/{cmds/blockchain => modules/blockchain_process}/blockchain.js (100%) rename lib/{cmds/blockchain => modules/blockchain_process}/blockchainProcess.js (100%) rename lib/{cmds/blockchain => modules/blockchain_process}/geth_commands.js (100%) rename lib/{cmds/blockchain => modules/blockchain_process}/miner.js (100%) diff --git a/lib/index.js b/lib/index.js index 8945a2930..24b84b259 100644 --- a/lib/index.js +++ b/lib/index.js @@ -32,7 +32,7 @@ class Embark { blockchain(env, client) { this.context = [constants.contexts.blockchain]; - return require('./cmds/blockchain/blockchain.js')(this.config.blockchainConfig, client, env, this.isDev(env), () => {}).run(); + return require('./modules/blockchain_process/blockchain.js')(this.config.blockchainConfig, client, env, this.isDev(env), () => {}).run(); } simulator(options) { diff --git a/lib/cmds/blockchain/blockchain.js b/lib/modules/blockchain_process/blockchain.js similarity index 100% rename from lib/cmds/blockchain/blockchain.js rename to lib/modules/blockchain_process/blockchain.js diff --git a/lib/cmds/blockchain/blockchainProcess.js b/lib/modules/blockchain_process/blockchainProcess.js similarity index 100% rename from lib/cmds/blockchain/blockchainProcess.js rename to lib/modules/blockchain_process/blockchainProcess.js diff --git a/lib/cmds/blockchain/geth_commands.js b/lib/modules/blockchain_process/geth_commands.js similarity index 100% rename from lib/cmds/blockchain/geth_commands.js rename to lib/modules/blockchain_process/geth_commands.js diff --git a/lib/cmds/blockchain/miner.js b/lib/modules/blockchain_process/miner.js similarity index 100% rename from lib/cmds/blockchain/miner.js rename to lib/modules/blockchain_process/miner.js