Browse Source

Debugging update path

pull/1785/head
jlukic 9 years ago
parent
commit
2f8049558e
1 changed files with 6 additions and 6 deletions
  1. 12
      tasks/install.js

12
tasks/install.js

@ -85,13 +85,12 @@ module.exports = function () {
if(currentConfig && manager.name === 'NPM') {
var
updateFolder = manager.root,
updatePaths = {
config : path.join(manager.root, files.config),
definition : path.join(updateFolder, currentConfig.paths.source.definitions),
site : path.join(updateFolder, currentConfig.paths.source.site),
theme : path.join(updateFolder, currentConfig.paths.source.themes),
tasks : path.join(updateFolder, folders.tasks),
definition : path.join(manager.root, currentConfig.paths.source.definitions),
site : path.join(manager.root, currentConfig.paths.source.site),
theme : path.join(manager.root, currentConfig.paths.source.themes),
tasks : path.join(manager.root, folders.tasks),
}
;
@ -100,7 +99,8 @@ module.exports = function () {
// perform update if new version
if(currentConfig.version !== release.version) {
console.log(release);
console.log(requireDotFile('package.json'));
console.log('Updating Semantic UI from ' + currentConfig.version + ' to ' + release.version);
console.info('Updating ui definitions...');

Loading…
Cancel
Save