mirror of https://github.com/embarklabs/embark.git
log re: installing pkgs for built-in boilerplate not just demo
This commit is contained in:
parent
c8a9ac6048
commit
67f57217d5
|
@ -51,7 +51,11 @@ class TemplateGenerator {
|
||||||
let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName));
|
let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName));
|
||||||
fs.copySync(templatePath, fspath);
|
fs.copySync(templatePath, fspath);
|
||||||
|
|
||||||
this.installTemplate(fspath, name, (name === 'embark_demo'));
|
this.installTemplate(
|
||||||
|
fspath,
|
||||||
|
name,
|
||||||
|
(this.templateName === 'boilerplate' || this.templateName === 'demo')
|
||||||
|
);
|
||||||
|
|
||||||
if (name === 'embark_demo') {
|
if (name === 'embark_demo') {
|
||||||
console.log('-------------------'.yellow);
|
console.log('-------------------'.yellow);
|
||||||
|
|
Loading…
Reference in New Issue