Skip to content

Commit

Permalink
Merge branch 'master' of github.com:desandro/draggabilly
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Oct 17, 2014
2 parents bca3f07 + bdc7511 commit 9c238ab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- '0.11'
9 changes: 7 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

// -------------------------- grunt -------------------------- //

/* global module */
module.exports = function( grunt ) {
'use strict';

// get banner comment from draggabilly.js
var banner = ( function() {
Expand All @@ -14,7 +15,7 @@ module.exports = function( grunt ) {
grunt.initConfig({

jshint: {
src: [ 'draggabilly.js' ],
src: [ 'draggabilly.js', 'Gruntfile.js' ],
options: grunt.file.readJSON('.jshintrc')
},

Expand Down Expand Up @@ -58,6 +59,10 @@ module.exports = function( grunt ) {
grunt.log.writeln('Removed pkgd module name on draggabilly.pkgd.js');
});

grunt.registerTask('travis', [
'jshint'
]);

grunt.registerTask( 'default', [
'jshint',
'requirejs',
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.5.0",
"grunt-requirejs": "^0.4.2"
},
"scripts": {
"test": "grunt travis"
},
"repository": {
"type": "git",
"url": "git://github.com/desandro/draggabilly.git"
Expand Down

0 comments on commit 9c238ab

Please sign in to comment.