소스 검색

grunt: replace <json:> directive with readJSON()

Manfred Kroehnert 12 년 전
부모
커밋
81d4d8fa0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Gruntfile.js

+ 1 - 1
Gruntfile.js

@@ -9,7 +9,7 @@ module.exports = function(grunt) {
   grunt.registerTask('default', 'peg amberc:all');
 
   grunt.initConfig({
-    pkg: '<json:package.json>',
+    pkg: grunt.file.readJSON('package.json'),
 
     meta: {
       banner: '/*!\n <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> \n License: <%= pkg.license.type %> \n*/\n'