Update all paths in gruntfile
This commit is contained in:
parent
c9c94936cc
commit
b9040a7fde
1 changed files with 13 additions and 13 deletions
26
Gruntfile.js
26
Gruntfile.js
|
@ -6,7 +6,7 @@ module.exports = function (grunt) {
|
||||||
style: 'compact'
|
style: 'compact'
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'assets/css/agaric.css': 'sass/agaric.scss'
|
'static-layouts/assets/css/agaric.css': 'agaric/sass/agaric.scss'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -14,21 +14,21 @@ module.exports = function (grunt) {
|
||||||
dev: {
|
dev: {
|
||||||
options: {
|
options: {
|
||||||
flatten: true,
|
flatten: true,
|
||||||
data: 'design-source/data/*.{json,yml}',
|
data: 'static-layouts/design-source/data/*.{json,yml}',
|
||||||
layout: false,
|
layout: false,
|
||||||
partials: 'design-source/templates/**/*.hbs'
|
partials: 'static-layouts/design-source/templates/**/*.hbs'
|
||||||
},
|
},
|
||||||
files: [
|
files: [
|
||||||
{
|
{
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: 'design-source/pages',
|
cwd: 'static-layouts/design-source/pages',
|
||||||
src: '**/*.{hbs,md}',
|
src: '**/*.{hbs,md}',
|
||||||
dest: 'design-output/'
|
dest: 'static-layouts/design-output/'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
clean: ['design-output/*.html'],
|
clean: ['static-layouts/design-output/*.html'],
|
||||||
connect: {
|
connect: {
|
||||||
preview: {
|
preview: {
|
||||||
options: {
|
options: {
|
||||||
|
@ -37,17 +37,17 @@ module.exports = function (grunt) {
|
||||||
hostname: 'localhost',
|
hostname: 'localhost',
|
||||||
keepalive: false,
|
keepalive: false,
|
||||||
livereload: 35729,
|
livereload: 35729,
|
||||||
open: 'http://0.0.0.0:9000/design-output'
|
open: 'http://0.0.0.0:9000/static-layouts/design-output'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
templates: {
|
templates: {
|
||||||
files: [
|
files: [
|
||||||
'design-source/templates/**/*.{hbs,md}',
|
'static-layouts/design-source/templates/**/*.{hbs,md}',
|
||||||
'design-source/pages/**/*.{hbs,md}',
|
'static-layouts/design-source/pages/**/*.{hbs,md}',
|
||||||
'design-source/data/**/*.json',
|
'static-layouts/design-source/data/**/*.json',
|
||||||
'sass/**/*.scss',
|
'agaric/sass/**/*.scss',
|
||||||
],
|
],
|
||||||
tasks: ['assemble','sass:dev']
|
tasks: ['assemble','sass:dev']
|
||||||
},
|
},
|
||||||
|
@ -55,12 +55,12 @@ module.exports = function (grunt) {
|
||||||
options: {
|
options: {
|
||||||
livereload: '<%= connect.preview.options.livereload %>'
|
livereload: '<%= connect.preview.options.livereload %>'
|
||||||
},
|
},
|
||||||
files: ['design-output/**.*']
|
files: ['static-layouts/design-output/**.*']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
shell: {
|
shell: {
|
||||||
target: {
|
target: {
|
||||||
command: './node_modules/.bin/kss --config sass/styleguide-config.json --verbose'
|
command: './node_modules/.bin/kss --config styleguide/_source/styleguide-config.json --verbose'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue