rb: Add stubs for rake install/package when Echoe not present [THRIFT-52]
authorKevin Clark <kclark@apache.org>
Thu, 26 Jun 2008 18:14:25 +0000 (18:14 +0000)
committerKevin Clark <kclark@apache.org>
Thu, 26 Jun 2008 18:14:25 +0000 (18:14 +0000)
Author: Kevin Ballard <kevin@rapleaf.com>

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@671971 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/Rakefile

index efd56f7..e88e984 100644 (file)
@@ -58,4 +58,10 @@ begin
     p.include_rakefile = true
   end
 rescue LoadError
+  [:install, :package].each do |t|
+    desc "Stub for #{t}"
+    task t do
+      fail "The Echoe gem is required for this task"
+    end
+  end
 end