Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Warn when missing build files
Browse files Browse the repository at this point in the history
Probably Related #123
  • Loading branch information
dfreedm committed Jan 28, 2014
1 parent 1b6e77c commit b0dd7bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-yuidoc');
grunt.loadNpmTasks('grunt-karma');

var sourceFiles = grunt.file.readJSON('build.json');
var sourceFiles = grunt.file.readJSON('build.json');
grunt.initConfig({
concat: {
pointerevents: {
options: {
stripBanners: true,
banner: grunt.file.read('LICENSE')
},
nonull: true,
src: sourceFiles,
dest: 'pointerevents.dev.js'
}
Expand All @@ -22,6 +23,7 @@ module.exports = function(grunt) {
// sourceMap: 'pointerevents.min.js.map',
banner: grunt.file.read('LICENSE')
},
nonull: true,
dest: 'pointerevents.min.js',
src: sourceFiles
}
Expand Down

0 comments on commit b0dd7bd

Please sign in to comment.