|
@@ -1,15 +1,15 @@
|
|
'use strict';
|
|
'use strict';
|
|
|
|
|
|
module.exports = function (grunt) {
|
|
module.exports = function (grunt) {
|
|
- var path = require('path'),
|
|
|
|
- helpers = require('amber-dev').helpers;
|
|
|
|
-
|
|
|
|
// These plugins provide necessary tasks.
|
|
// These plugins provide necessary tasks.
|
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
grunt.loadNpmTasks('grunt-contrib-requirejs');
|
|
grunt.loadNpmTasks('grunt-contrib-requirejs');
|
|
grunt.loadNpmTasks('grunt-execute');
|
|
grunt.loadNpmTasks('grunt-execute');
|
|
grunt.loadNpmTasks('amber-dev');
|
|
grunt.loadNpmTasks('amber-dev');
|
|
|
|
|
|
|
|
+ var path = require('path'),
|
|
|
|
+ helpers = require('amber-dev').helpers;
|
|
|
|
+
|
|
// Default task.
|
|
// Default task.
|
|
grunt.registerTask('default', ['amdconfig:app', 'amberc:all']);
|
|
grunt.registerTask('default', ['amdconfig:app', 'amberc:all']);
|
|
grunt.registerTask('test', ['amdconfig:app', 'requirejs:test_runner', 'execute:test_runner', 'clean:test_runner']);
|
|
grunt.registerTask('test', ['amdconfig:app', 'requirejs:test_runner', 'execute:test_runner', 'clean:test_runner']);
|