mainConfigFile: 'src/editor/entrypoint.js',
out: build_output_dir + '/rng.js',
name: 'entrypoint',
mainConfigFile: 'src/editor/entrypoint.js',
out: build_output_dir + '/rng.js',
name: 'entrypoint',
generateSourceMaps: true,
// The following two settings are required for source maps to work,
// see: http://requirejs.org/docs/optimization.html#sourcemaps
preserveLicenseComments: false,
generateSourceMaps: true,
// The following two settings are required for source maps to work,
// see: http://requirejs.org/docs/optimization.html#sourcemaps
preserveLicenseComments: false,
- all: ['Gruntfile.js', 'src/**/*.js'],
+ all: jshint_targets ? jshint_targets.split(',') : ['Gruntfile.js', 'src/**/*.js'],
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('build', ['requirejs', 'less:production', 'copy:resources']);
grunt.registerTask('lint', ['jshint']);
grunt.registerTask('build', ['requirejs', 'less:production', 'copy:resources']);
grunt.registerTask('lint', ['jshint']);