|
|
@ -24,6 +24,7 @@ module.exports = function(grunt) { |
|
|
|
|
|
|
|
|
|
|
|
// Metadata.
|
|
|
|
// Metadata.
|
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
|
|
|
|
srcPath: 'sass/', |
|
|
|
distPath: 'dist/', |
|
|
|
distPath: 'dist/', |
|
|
|
docsPath: 'docs/dist/', |
|
|
|
docsPath: 'docs/dist/', |
|
|
|
docsAssetsPath: 'docs/assets/' |
|
|
|
docsAssetsPath: 'docs/assets/' |
|
|
@ -82,14 +83,14 @@ module.exports = function(grunt) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
dist: { |
|
|
|
dist: { |
|
|
|
files: { |
|
|
|
files: { |
|
|
|
'<%= meta.distPath %>/css/<%= pkg.name %>.css': '<%= meta.distPath %>/css/<%= pkg.name %>.css', |
|
|
|
'<%= meta.distPath %>css/<%= pkg.name %>.css': '<%= meta.distPath %>css/<%= pkg.name %>.css', |
|
|
|
'<%= meta.distPath %>/css/<%= pkg.name %>-theme-android.css': '<%= meta.distPath %>/css/<%= pkg.name %>-theme-android.css', |
|
|
|
'<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css': '<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css', |
|
|
|
'<%= meta.distPath %>/css/<%= pkg.name %>-theme-ios.css': '<%= meta.distPath %>/css/<%= pkg.name %>-theme-ios.css' |
|
|
|
'<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css': '<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
docs: { |
|
|
|
docs: { |
|
|
|
files: { |
|
|
|
files: { |
|
|
|
'<%= meta.docsAssetsPath %>/css/docs.css': '<%= meta.docsAssetsPath %>/css/docs.css' |
|
|
|
'<%= meta.docsAssetsPath %>css/docs.css': '<%= meta.docsAssetsPath %>css/docs.css' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -98,7 +99,7 @@ module.exports = function(grunt) { |
|
|
|
fonts: { |
|
|
|
fonts: { |
|
|
|
expand: true, |
|
|
|
expand: true, |
|
|
|
src: 'fonts/*', |
|
|
|
src: 'fonts/*', |
|
|
|
dest: '<%= meta.distPath %>/' |
|
|
|
dest: '<%= meta.distPath %>' |
|
|
|
}, |
|
|
|
}, |
|
|
|
docs: { |
|
|
|
docs: { |
|
|
|
expand: true, |
|
|
|
expand: true, |
|
|
@ -157,7 +158,7 @@ module.exports = function(grunt) { |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
scripts: { |
|
|
|
scripts: { |
|
|
|
files: [ |
|
|
|
files: [ |
|
|
|
'<%= meta.srcPath %>/**/*.scss' |
|
|
|
'<%= meta.srcPath %>**/*.scss' |
|
|
|
], |
|
|
|
], |
|
|
|
tasks: ['sass'] |
|
|
|
tasks: ['sass'] |
|
|
|
} |
|
|
|
} |
|
|
|