mirror of https://github.com/embarklabs/embark.git
adjust paths
This commit is contained in:
parent
a8193277da
commit
8b5e3aa3ab
|
@ -57,7 +57,7 @@ Blockchain.prototype.initChainAndGetAddress = function() {
|
|||
fs.mkdirpSync(this.datadir);
|
||||
|
||||
// copy mining script
|
||||
fs.copySync(utils.joinPath(__dirname, "/../js"), ".embark/development/js", {overwrite: true});
|
||||
fs.copySync(utils.joinPath(__dirname, "/../../../js"), ".embark/development/js", {overwrite: true});
|
||||
|
||||
// check if an account already exists, create one if not, return address
|
||||
result = this.runCommand(this.client.listAccountsCommand());
|
||||
|
|
|
@ -6,7 +6,7 @@ var TemplateGenerator = function(templateName) {
|
|||
};
|
||||
|
||||
TemplateGenerator.prototype.generate = function(destinationFolder, name) {
|
||||
var templatePath = utils.joinPath(__dirname, '/../', this.templateName);
|
||||
var templatePath = utils.joinPath(__dirname, '/../../', this.templateName);
|
||||
console.log('Initializing Embark Template....'.green);
|
||||
|
||||
fs.copySync(templatePath, destinationFolder + name);
|
||||
|
|
Loading…
Reference in New Issue