| 
					
				 | 
			
			
				@@ -76,19 +76,25 @@ module.exports = function (grunt) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 options: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     mainConfigFile: "config.js", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rawText: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        "amber/Platform": "define()", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        "app": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/compatibility": "/* stub */", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/Platform": "/* stub */", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/__app__": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             define(["amber/devel", "amber_core/Platform-Node", "amber_cli/AmberCli"], function (amber) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 amber.initialize().then(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     amber.globals.AmberCli._main(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } + "());", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "app": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            define(["require", "amber/es2015-polyfills"], function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                require(["amber/__app__"]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } + "());" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     pragmas: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         // none, for repl to have all info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    include: ['config-node', 'app', 'amber/lazypack'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    include: ['app', 'amber/lazypack', 'amber/__app__'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     insertRequire: ['app'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     optimize: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     wrap: helpers.nodeWrapperWithShebang, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,20 +105,26 @@ module.exports = function (grunt) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 options: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     mainConfigFile: "config.js", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rawText: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        "amber/Platform": "define()", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        "app": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/compatibility": "/* stub */", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/Platform": "/* stub */", //eg. nothing, TODO remove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "amber/__app__": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             define(["amber/devel", "amber_core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 amber.initialize().then(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     amber.globals.NodeTestRunner._main(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } + "());", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "app": "(" + function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            define(["require", "amber/es2015-polyfills"], function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                require(["amber/__app__"]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } + "());" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     paths: {"amber_devkit": helpers.libPath}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     pragmas: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         // none, amber tests test contexts as well as eg. class copying which needs sources 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    include: ['config-node', 'app', 'amber/lazypack'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    include: ['app', 'amber/lazypack', 'amber/__app__'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     insertRequire: ['app'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     optimize: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     wrap: helpers.nodeWrapperWithShebang, 
			 |