Permalink
Browse files

Add WatirSpec submodule + load it in Rakefile if available.

  • Loading branch information...
1 parent f6ab085 commit 053bb009f9d0b73f0868048d276656c5ec81e417 @jarib jarib committed with bret Sep 7, 2009
Showing with 24 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +20 −0 Rakefile
  3. +1 −0 spec/watirspec
View
@@ -0,0 +1,3 @@
+[submodule "spec/watirspec"]
+ path = spec/watirspec
+ url = git://github.com/jarib/watirspec.git
View
@@ -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|
Submodule watirspec added at fce772

0 comments on commit 053bb00

Please sign in to comment.