From 2df4e8232af5c64e175ff2c0439d982ac052d134 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 13 Apr 2015 16:37:30 -0400 Subject: [PATCH] #2101 finish fix for npm install --- tasks/config/project/install.js | 3 ++- tasks/install.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/config/project/install.js b/tasks/config/project/install.js index c271274c9..10a2881bc 100644 --- a/tasks/config/project/install.js +++ b/tasks/config/project/install.js @@ -228,7 +228,7 @@ module.exports = { siteVariable: /@siteFolder .*\'(.*)/mg }, - // source paths (relative to tasks/install.js ) + // source paths (when installing) source: { config : './semantic.json.example', definitions : './src/definitions', @@ -239,6 +239,7 @@ module.exports = { themeConfig : './src/theme.config.example', themeImport : './src/theme.less', themes : './src/themes', + defaultTheme : './src/themes/default', userGulpFile : './tasks/config/npm/gulpfile.js' }, diff --git a/tasks/install.js b/tasks/install.js index 91ecdbb07..97b1f3a43 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -64,7 +64,7 @@ module.exports = function () { console.clear(); - /* Test NPM + /* Test NPM install manager = { name : 'NPM', root : path.normalize(__dirname + '/../') @@ -311,7 +311,7 @@ module.exports = function () { else { console.info('Creating site theme folder', installPaths.site); } - wrench.copyDirSyncRecursive(source.site, installPaths.site, settings.wrench.site); + wrench.copyDirSyncRecursive(source.site, installPaths.site, settings.wrench.merge); /*-------------- Theme Config