소스 검색

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'),