1
0
Просмотр исходного кода

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

Manfred Kroehnert 11 лет назад
Родитель
Сommit
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'