diff options
Diffstat (limited to 'www/lib/angular-circular-navigation/Gruntfile.js')
| -rw-r--r-- | www/lib/angular-circular-navigation/Gruntfile.js | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/www/lib/angular-circular-navigation/Gruntfile.js b/www/lib/angular-circular-navigation/Gruntfile.js deleted file mode 100644 index 5eb11d52..00000000 --- a/www/lib/angular-circular-navigation/Gruntfile.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -module.exports = function (grunt) { - - // load all grunt tasks - require('load-grunt-tasks')(grunt); - - // default task - grunt.registerTask('default', ['jshint', 'karma:unit']); - grunt.registerTask('watch', ['karma:watch']); - grunt.registerTask('coverage', ['karma:coverage', 'coveralls']); - - - // perform test in Firefox on travis ci - var testConfig = function(configFile, customOptions) { - var options = { configFile: configFile, keepalive: true }; - var travisOptions = process.env.TRAVIS && { browsers: ['Firefox'] }; - return grunt.util._.extend(options, customOptions, travisOptions); - }; - - grunt.initConfig({ - - // Compiles Sass to CSS and generates necessary files if requested - compass: { - dist: { - options: { - sassDir: 'scss', - cssDir: '.', - // environment: 'production' - } - } - }, - - karma: { - unit: { - options: testConfig('test/karma.conf.js') - }, - watch: { - options: testConfig('test/karma.conf.js'), - singleRun: false, - autoWatch: true - }, - coverage: { - options: testConfig('test/karma.conf.js'), - reporters: ['coverage'] - } - }, - - coveralls: { - options: { - debug: true, - coverage_dir: 'coverage' - } - }, - - jshint: { - options: { - jshintrc: '.jshintrc' - }, - gruntfile: 'Gruntfile.js', - angularChart: 'angular-circular-navigation.js', - test: 'test/*.js', - // demo: 'demo/*.js' - } - - }); - -}; |
