Explorar o código

using devkit 0.6.0, node bulid using insertRequire

Herbert Vojčík %!s(int64=9) %!d(string=hai) anos
pai
achega
f20d027a29
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 2 1
      root/Gruntfile.js
  2. 1 1
      template.js

+ 2 - 1
root/Gruntfile.js

@@ -81,8 +81,9 @@ module.exports = function (grunt) {
                         excludeIdeData: true
                     },
                     include: ['config-node', 'app'],
+                    insertRequire: ['app'],
                     optimize: "none",
-                    wrap: helpers.nodeWrap('app'),
+                    wrap: helpers.nodeWrapperWithShebang,
                     out: "test_runner.js"
                 }
             }

+ 1 - 1
template.js

@@ -116,7 +116,7 @@ exports.template = function (grunt, init, done) {
         // A few additional properties.
         props.keywords = ['Amber', 'Smalltalk'];
         props.devDependencies = {
-            "amber-dev": "^0.5.1",
+            "amber-dev": "^0.6.0",
             "grunt": "^0.4.5",
             "grunt-contrib-clean": "^0.6.0",
             "grunt-contrib-requirejs": "^0.4.4",