Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add WatirSpec submodule + load it in Rakefile if available.

  • Loading branch information...
commit 053bb009f9d0b73f0868048d276656c5ec81e417 1 parent f6ab085
@jarib jarib authored bret committed
Showing with 24 additions and 0 deletions.
  1. +3 −0  .gitmodules
  2. +20 −0 Rakefile
  3. +1 −0  spec/watirspec
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "spec/watirspec"]
+ path = spec/watirspec
+ url = git://github.com/jarib/watirspec.git
View
20 Rakefile
@@ -38,6 +38,26 @@ Rake::TestTask.new :mozilla_all_tests do |t|
t.verbose = true
end
+#
+# ------------------------------ watirspec -----------------------------------
+#
+
+if File.exist?(path = "spec/watirspec/watirspec.rake")
+ load path
+end
+
+namespace :watirspec do
+ desc 'Initialize and fetch the watirspec submodule'
+ task :init do
+ sh "git submodule init"
+ sh "git submodule update"
+ end
+end
+
+#
+# ----------------------------------------------------------------------------
+#
+
namespace :cruise do
def add_style_sheet_to_reports(report_dir)
Dir[report_dir].each do |f|
1  spec/watirspec
@@ -0,0 +1 @@
+Subproject commit fce7725aa59f221fef9014f6e94114fce6b23c1d
Please sign in to comment.
Something went wrong with that request. Please try again.