summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2009-06-22 12:27:06 -0800
committerRyan Davis <ryand@zenspider.com>2009-06-22 12:27:06 -0800
commit848b53faba228a7d38f7e5461fe23cfa445f026b (patch)
treecc6df11f446fbf0513c62173baf973ee8850e622
parent1b560215504a57ba4e8a956c255ddf9a2a55474f (diff)
downloadhoe-848b53faba228a7d38f7e5461fe23cfa445f026b.tar.gz
+ inline plugin adds RubyInline dependency and hooks clean task.
[git-p4: depot-paths = "//src/hoe/dev/": change = 5122]
-rw-r--r--lib/hoe/inline.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hoe/inline.rb b/lib/hoe/inline.rb
index ceeb8bd..d2b4eb1 100644
--- a/lib/hoe/inline.rb
+++ b/lib/hoe/inline.rb
@@ -16,11 +16,14 @@
# +FORCE_PLATFORM+ (instead of default Gem::Platform::CURRENT)
module Hoe::Inline
-
##
# Define tasks for plugin.
def define_inline_tasks
+ extra_deps << 'RubyInline'
+ clean_globs << File.expand_path("~/.ruby_inline")
+ task :test => :clean
+
if ENV['INLINE'] then
s.platform = ENV['FORCE_PLATFORM'] || Gem::Platform::CURRENT