瀏覽代碼

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 11 年之前
父節點
當前提交
b6b8025f92
共有 1 個文件被更改,包括 1 次插入1 次删除
  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-contrib-mincss');
 
-  grunt.registerTask('default', 'peg amberc:all');
+  grunt.registerTask('default', ['peg', 'amberc:all']);
 
   grunt.initConfig({
     pkg: grunt.file.readJSON('package.json'),