pyc-website
main website for pyc inc.
git clone https://9o.is/git/pyc-website.git
commit 51f5db5fca5633f02f74a1d024b24fdd6af2ccbc parent 04503baa5408011a470fe26ffe893c5a4877cd99 Author: Jul <jul@9o.is> Date: Sat, 3 May 2014 00:54:17 -0400 fixed jasmine grunt task Diffstat:
| M | Gruntfile.js | | | 12 | +++++------- |
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js @@ -97,16 +97,14 @@ module.exports = function(grunt) { }, jasmine: { - src: [ - '<%= vendor_files.js %>', - '<%= app_files.js %>', - '<%= test_files.js %>' - ], + src: 'jasmine_tests', options: { + src: '<%= app_files.js %>', vendor: [ 'http://maps.googleapis.com/maps/api/js?sensor=false&language=en', 'bower_components/jquery/dist/jquery.js', - 'bower_components/jasmine-jquery/lib/jasmine-jquery.js' + 'bower_components/jasmine-jquery/lib/jasmine-jquery.js', + '<%= vendor_files.js %>' ], specs: '<%= app_files.jsspec %>' } @@ -331,7 +329,7 @@ module.exports = function(grunt) { /** * The `test` task runs your tests. */ - grunt.registerTask('test', []); + grunt.registerTask('test', ['jasmine']); /** * The `compress` task gets your app ready for deployment by concatenating and