Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New "scripts" build task, which is everything except Compass (for fas…

…ter/easier tests), install grunt globally for Travis, use `grunt test` for tests instead of dist.
  • Loading branch information...
commit 73fadd26d4778d97689ecadeae65a8d6e39da898 1 parent 1b9eab3
@davidkaneda davidkaneda authored
Showing with 6 additions and 4 deletions.
  1. +1 −1  .travis.yml
  2. +4 −2 Gruntfile.coffee
  3. +1 −1  package.json
View
2  .travis.yml
@@ -5,4 +5,4 @@ notifications:
email:
on_success: never
on_failure: change
-before_install: npm install grunt-cli
+before_install: npm install -g grunt-cli
View
6 Gruntfile.coffee
@@ -252,11 +252,13 @@ module.exports = (grunt) ->
# Git submodule updates
grunt.registerTask 'zepto', ['rake', 'copy:zepto', 'copy:jquery-bridge']
+ grunt.registerTask 'scripts', ['update_submodules', 'clean', 'copy:prepare', 'concat', 'zepto']
+
# Default (Build)
- grunt.registerTask 'default', ['update_submodules', 'clean', 'copy:prepare', 'concat', 'zepto', 'compass']
+ grunt.registerTask 'default', ['scripts', 'compass']
# Test from scratch
- grunt.registerTask 'test', ['default', 'copy:test', 'qunit']
+ grunt.registerTask 'test', ['scripts', 'copy:test', 'qunit']
# Builds, then copies to versioned dist dir and minifies all JS
grunt.registerTask 'dist', ['clean', 'default', 'copy:dist', 'uglify', 'mincss']
View
2  package.json
@@ -51,6 +51,6 @@
},
"optionalDependencies": {},
"scripts": {
- "test": "grunt dist --verbose"
+ "test": "grunt test --verbose"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.