From c70ed3139678dd485fec0306ea7ab73c886b98b0 Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 12 Feb 2015 15:16:53 -0500 Subject: [PATCH] Break it --- tasks/config/defaults.js | 3 +++ tasks/config/project/install.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/config/defaults.js b/tasks/config/defaults.js index 0f5b9e834..8a6988fc1 100644 --- a/tasks/config/defaults.js +++ b/tasks/config/defaults.js @@ -7,6 +7,9 @@ module.exports = { // base path added to all other paths base : '', + // base path when installed with npm + pmRoot: 'semantic/', + // octal permission for output files, i.e. 644 (false does not adjust) permission : 744, diff --git a/tasks/config/project/install.js b/tasks/config/project/install.js index 043ddf684..206935a9b 100644 --- a/tasks/config/project/install.js +++ b/tasks/config/project/install.js @@ -11,6 +11,9 @@ var requireDotFile = require('require-dot-file') ; +console.log(defaults.paths); +return; + /******************************* When to Ask *******************************/ @@ -297,7 +300,7 @@ module.exports = { type : 'input', name : 'semanticRoot', message : 'Where should we put Semantic UI inside your project?', - default : 'semantic/' + default : defaults.pmRoot } ],