mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
add old scss files to dist build to test complete build
This commit is contained in:
parent
7511fea01a
commit
8fe063c9ad
15
Gruntfile.js
15
Gruntfile.js
@ -75,6 +75,11 @@ module.exports = function(grunt) {
|
|||||||
files: {
|
files: {
|
||||||
'dist/css/all.css': 'src/sass/all.scss'
|
'dist/css/all.css': 'src/sass/all.scss'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
oldSass: {
|
||||||
|
files: {
|
||||||
|
'dist/css/style.css': 'src/css/style.scss'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
autoprefixer: {
|
autoprefixer: {
|
||||||
@ -102,6 +107,10 @@ module.exports = function(grunt) {
|
|||||||
files: ['src/sass/**/*.scss'],
|
files: ['src/sass/**/*.scss'],
|
||||||
tasks: ['dist-css']
|
tasks: ['dist-css']
|
||||||
},
|
},
|
||||||
|
oldSass: {
|
||||||
|
files: ['src/css/**/*.scss'],
|
||||||
|
tasks: ['sass:oldSass']
|
||||||
|
},
|
||||||
js: {
|
js: {
|
||||||
files: ['src/js/**/*.js'],
|
files: ['src/js/**/*.js'],
|
||||||
tasks: ['copy:js']
|
tasks: ['copy:js']
|
||||||
@ -116,6 +125,12 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
copy: {
|
copy: {
|
||||||
|
oldSass: {
|
||||||
|
expand: true,
|
||||||
|
cwd: 'src/css/',
|
||||||
|
src: ['reset.css', 'icons.ttf'],
|
||||||
|
dest: 'dist/css/'
|
||||||
|
},
|
||||||
npm: {
|
npm: {
|
||||||
expand: true,
|
expand: true,
|
||||||
flatten: true,
|
flatten: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user