Tweaked to use ionicon test from ben.

This commit is contained in:
Max Lynch
2013-09-25 14:21:44 -05:00
parent 84b2e89098
commit 7dd91abfa4
9 changed files with 2472 additions and 5 deletions

View File

@ -21,6 +21,10 @@ module.exports = function(grunt) {
],
dest: 'dist/<%= pkg.name %>.js'
},
cssWithIcons: {
src: ['ionicons/style.css', 'dist/ionic.css'],
dest: 'dist/ionicIcons.css'
},
distAngular: {
src: [
'ext/angular/src/*.js'
@ -34,6 +38,13 @@ module.exports = function(grunt) {
dest: 'dist/<%= pkg.name %>-simple.js'
}
},
copy: {
ionicons: {
files: [
{ expand: true, src: ['ionicons/fonts/*'], dest: 'dist/fonts/', flatten: true}
]
}
},
jshint: {
files: ['Gruntfile.js', 'js/**/*.js', 'test/**/*.js'],
options: {
@ -63,7 +74,7 @@ module.exports = function(grunt) {
},
sass: {
files: ['scss/**/*.scss'],
tasks: ['sass'],
tasks: ['sass', 'concat'],
options: {
spawn: false
}
@ -72,10 +83,11 @@ module.exports = function(grunt) {
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['jshint', 'concat']);
grunt.registerTask('default', ['jshint', 'sass', 'concat']);
};