mirror of https://github.com/embarklabs/embark.git
fix library manager init
This commit is contained in:
parent
2baaba07e6
commit
540afedbaf
|
@ -22,6 +22,7 @@ class Compiler {
|
||||||
}
|
}
|
||||||
|
|
||||||
let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers');
|
let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers');
|
||||||
|
console.dir(pluginCompilers);
|
||||||
pluginCompilers.forEach(function (compilerObject) {
|
pluginCompilers.forEach(function (compilerObject) {
|
||||||
available_compilers[compilerObject.extension] = compilerObject.cb;
|
available_compilers[compilerObject.extension] = compilerObject.cb;
|
||||||
});
|
});
|
||||||
|
|
|
@ -3,6 +3,7 @@ var Npm = require('./npm.js');
|
||||||
class LibraryManager {
|
class LibraryManager {
|
||||||
|
|
||||||
constructor(embark) {
|
constructor(embark) {
|
||||||
|
this.embark = embark;
|
||||||
this.config = embark.config;
|
this.config = embark.config;
|
||||||
this.contractsConfig = this.config.contractsConfig;
|
this.contractsConfig = this.config.contractsConfig;
|
||||||
this.storageConfig = this.config.storageConfig;
|
this.storageConfig = this.config.storageConfig;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const fs = require('../core/fs.js');
|
const fs = require('../../core/fs.js');
|
||||||
const PluginManager = require('live-plugin-manager-git-fix').PluginManager;
|
const PluginManager = require('live-plugin-manager-git-fix').PluginManager;
|
||||||
require('colors');
|
require('colors');
|
||||||
const NpmTimer = require('./npmTimer');
|
const NpmTimer = require('./npmTimer');
|
||||||
|
|
|
@ -38,7 +38,8 @@ class SolcW {
|
||||||
this.solcProcess = new ProcessLauncher({
|
this.solcProcess = new ProcessLauncher({
|
||||||
modulePath: utils.joinPath(__dirname, 'solcP.js'),
|
modulePath: utils.joinPath(__dirname, 'solcP.js'),
|
||||||
logger: self.logger,
|
logger: self.logger,
|
||||||
events: self.events
|
events: self.events,
|
||||||
|
silent: false
|
||||||
});
|
});
|
||||||
|
|
||||||
this.solcProcess.once("result", "initiated", () => {
|
this.solcProcess.once("result", "initiated", () => {
|
||||||
|
|
Loading…
Reference in New Issue