mirror of
https://github.com/moparisthebest/mail
synced 2024-11-11 03:35:01 -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: {
|
||||
'dist/css/all.css': 'src/sass/all.scss'
|
||||
}
|
||||
},
|
||||
oldSass: {
|
||||
files: {
|
||||
'dist/css/style.css': 'src/css/style.scss'
|
||||
}
|
||||
}
|
||||
},
|
||||
autoprefixer: {
|
||||
@ -102,6 +107,10 @@ module.exports = function(grunt) {
|
||||
files: ['src/sass/**/*.scss'],
|
||||
tasks: ['dist-css']
|
||||
},
|
||||
oldSass: {
|
||||
files: ['src/css/**/*.scss'],
|
||||
tasks: ['sass:oldSass']
|
||||
},
|
||||
js: {
|
||||
files: ['src/js/**/*.js'],
|
||||
tasks: ['copy:js']
|
||||
@ -116,6 +125,12 @@ module.exports = function(grunt) {
|
||||
}
|
||||
},
|
||||
copy: {
|
||||
oldSass: {
|
||||
expand: true,
|
||||
cwd: 'src/css/',
|
||||
src: ['reset.css', 'icons.ttf'],
|
||||
dest: 'dist/css/'
|
||||
},
|
||||
npm: {
|
||||
expand: true,
|
||||
flatten: true,
|
||||
|
Loading…
Reference in New Issue
Block a user