1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

chore(grunt): add new lint task

This commit is contained in:
Anthony Lapenna 2016-07-06 14:20:29 +12:00
parent 88d5e22532
commit 3bcd1bf665

View file

@ -35,6 +35,7 @@ module.exports = function (grunt) {
'recess:min',
'copy'
]);
grunt.registerTask('lint', ['jshint']);
grunt.registerTask('test-watch', ['karma:watch']);
grunt.registerTask('run', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:run']);
grunt.registerTask('run-swarm', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:runSwarm', 'watch:buildSwarm']);