Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Fixed gruntfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sbmaxx committed Jul 22, 2014
1 parent 1efb8a2 commit ff7c637
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-karma');

var sourceFiles = grunt.file.readJSON('build.json');
var toolsPath = '../tools/';
var licenseFile = toolsPath + 'LICENSE';

grunt.initConfig({
concat: {
pointerevents: {
options: {
stripBanners: true,
banner: grunt.file.read('LICENSE')
banner: grunt.file.read(licenseFile)
},
nonull: true,
src: sourceFiles,
Expand All @@ -20,7 +23,7 @@ module.exports = function(grunt) {
pointerevents: {
options: {
// sourceMap: 'pointerevents.min.js.map',
banner: grunt.file.read('LICENSE')
banner: grunt.file.read(licenseFile)
},
nonull: true,
dest: 'pointerevents.min.js',
Expand All @@ -41,7 +44,7 @@ module.exports = function(grunt) {
}
});

grunt.loadTasks('../tools/tasks');
grunt.loadTasks(toolsPath + 'tasks');
grunt.registerTask('default', ['concat', 'uglify']);
grunt.registerTask('test', ['override-chrome-launcher', 'karma:pointerevents']);
grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']);
Expand Down

0 comments on commit ff7c637

Please sign in to comment.