Permalink
Browse files

Run the jasmine generator

  • Loading branch information...
1 parent 15c2afe commit f0dc25aad35176768efe08806088edd2f2c67976 @jwhitley committed Apr 25, 2012
Showing with 86 additions and 1 deletion.
  1. +5 −1 README.md
  2. 0 spec/javascripts/helpers/.gitkeep
  3. +81 −0 spec/javascripts/support/jasmine.yml
View
@@ -58,7 +58,7 @@ adheres to:
### Update `Gemfile`
-Add these lines to your `Gemfile`:
+Add these lines to your `Gemfile`, then run `bundle install`:
```ruby
gem 'requirejs-rails', :git => 'git://github.com/jwhitley/requirejs-rails.git'
@@ -68,3 +68,7 @@ group :development, :test do
end
```
+### Run the jasmine generator
+
+```rake g jasmine:install```
+
No changes.
@@ -0,0 +1,81 @@
+# src_files
+#
+# Return an array of filepaths relative to src_dir to include before jasmine specs.
+# Default: []
+#
+# EXAMPLE:
+#
+# src_files:
+# - lib/source1.js
+# - lib/source2.js
+# - dist/**/*.js
+#
+src_files:
+ - public/javascripts/prototype.js
+ - public/javascripts/effects.js
+ - public/javascripts/controls.js
+ - public/javascripts/dragdrop.js
+ - public/javascripts/application.js
+ - public/javascripts/**/*.js
+
+# stylesheets
+#
+# Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
+# Default: []
+#
+# EXAMPLE:
+#
+# stylesheets:
+# - css/style.css
+# - stylesheets/*.css
+#
+stylesheets:
+ - stylesheets/**/*.css
+
+# helpers
+#
+# Return an array of filepaths relative to spec_dir to include before jasmine specs.
+# Default: ["helpers/**/*.js"]
+#
+# EXAMPLE:
+#
+# helpers:
+# - helpers/**/*.js
+#
+helpers:
+ - helpers/**/*.js
+
+# spec_files
+#
+# Return an array of filepaths relative to spec_dir to include.
+# Default: ["**/*[sS]pec.js"]
+#
+# EXAMPLE:
+#
+# spec_files:
+# - **/*[sS]pec.js
+#
+spec_files:
+ - '**/*[sS]pec.js'
+
+# src_dir
+#
+# Source directory path. Your src_files must be returned relative to this path. Will use root if left blank.
+# Default: project root
+#
+# EXAMPLE:
+#
+# src_dir: public
+#
+src_dir:
+
+# spec_dir
+#
+# Spec directory path. Your spec_files must be returned relative to this path.
+# Default: spec/javascripts
+#
+# EXAMPLE:
+#
+# spec_dir: spec/javascripts
+#
+spec_dir: spec/javascripts

0 comments on commit f0dc25a

Please sign in to comment.