summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@mister-muffin.de>2017-06-16 12:29:35 +0200
committerJohannes 'josch' Schauer <josch@mister-muffin.de>2017-06-16 15:19:38 +0200
commitcfc7dabcfaccd376680d0c0884ea5fe81d77acce (patch)
treefb346664e4df36b5b839bd55969c5cbd0c350de9
parent19447032e9c7dc5c3bc8e8fe12af9a20297330fa (diff)
Disable jshint and watch tasks in gruntfile
The respective grunt contrib modules are not packaged and the tasks are only useful during active development and not during package build
-rw-r--r--searx/static/themes/oscar/gruntfile.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js
index 59d1b6d..71e6e29 100644
--- a/searx/static/themes/oscar/gruntfile.js
+++ b/searx/static/themes/oscar/gruntfile.js
@@ -76,14 +76,10 @@ module.exports = function(grunt) {
});
grunt.loadNpmTasks('grunt-contrib-uglify');
- grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-less');
- grunt.registerTask('test', ['jshint']);
-
- grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'less']);
+ grunt.registerTask('default', ['concat', 'uglify', 'less']);
grunt.registerTask('styles', ['less']);