Explorar o código

default tasks made array

I got the error message that it can't find task 'peg amberc:all'.
Making it an array fixed it.
Herbert Vojčík %!s(int64=12) %!d(string=hai) anos
pai
achega
b6b8025f92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gruntfile.js

+ 1 - 1
Gruntfile.js

@@ -6,7 +6,7 @@ module.exports = function(grunt) {
 //  grunt.loadNpmTasks('grunt-image-embed');
 //  grunt.loadNpmTasks('grunt-image-embed');
 //  grunt.loadNpmTasks('grunt-contrib-mincss');
 //  grunt.loadNpmTasks('grunt-contrib-mincss');
 
 
-  grunt.registerTask('default', 'peg amberc:all');
+  grunt.registerTask('default', ['peg', 'amberc:all']);
 
 
   grunt.initConfig({
   grunt.initConfig({
     pkg: grunt.file.readJSON('package.json'),
     pkg: grunt.file.readJSON('package.json'),