Commit e3ffb58f authored by Vadim Makeev's avatar Vadim Makeev

Cleaning up publish task output

parent e4500886
...@@ -24,7 +24,7 @@ module.exports = function(grunt) { ...@@ -24,7 +24,7 @@ module.exports = function(grunt) {
'!bower.json', '!bower.json',
'!package.json' '!package.json'
], ],
dest: 'temp/' dest: 'temp/pres/'
},{ },{
expand: true, expand: true,
cwd: 'node_modules/shower-core/', cwd: 'node_modules/shower-core/',
...@@ -33,7 +33,7 @@ module.exports = function(grunt) { ...@@ -33,7 +33,7 @@ module.exports = function(grunt) {
'!package.json', '!package.json',
'!Readme.md' '!Readme.md'
], ],
dest: 'temp/shower/' dest: 'temp/pres/shower/'
},{ },{
expand: true, expand: true,
cwd: 'node_modules/shower-ribbon/', cwd: 'node_modules/shower-ribbon/',
...@@ -42,7 +42,7 @@ module.exports = function(grunt) { ...@@ -42,7 +42,7 @@ module.exports = function(grunt) {
'!package.json', '!package.json',
'!Readme.md' '!Readme.md'
], ],
dest: 'temp/shower/themes/ribbon/' dest: 'temp/pres/shower/themes/ribbon/'
},{ },{
expand: true, expand: true,
cwd: 'node_modules/shower-bright/', cwd: 'node_modules/shower-bright/',
...@@ -51,13 +51,13 @@ module.exports = function(grunt) { ...@@ -51,13 +51,13 @@ module.exports = function(grunt) {
'!package.json', '!package.json',
'!Readme.md' '!Readme.md'
], ],
dest: 'temp/shower/themes/bright/' dest: 'temp/pres/shower/themes/bright/'
}] }]
} }
}, },
replace: { replace: {
core: { core: {
src: 'temp/index.html', src: 'temp/pres/index.html',
overwrite: true, overwrite: true,
replacements: [{ replacements: [{
from: /(node_modules|bower_components)\/shower-core/g, from: /(node_modules|bower_components)\/shower-core/g,
...@@ -68,7 +68,7 @@ module.exports = function(grunt) { ...@@ -68,7 +68,7 @@ module.exports = function(grunt) {
}] }]
}, },
themes: { themes: {
src: 'temp/shower/themes/*/index.html', src: 'temp/pres/shower/themes/*/index.html',
overwrite: true, overwrite: true,
replacements: [{ replacements: [{
from: '../shower-core', to: '../..' from: '../shower-core', to: '../..'
...@@ -77,7 +77,8 @@ module.exports = function(grunt) { ...@@ -77,7 +77,8 @@ module.exports = function(grunt) {
}, },
'gh-pages': { 'gh-pages': {
options: { options: {
base: 'temp' base: 'temp/pres',
clone: 'temp/clone'
}, },
src: ['**'] src: ['**']
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment