diff options
author | Ryan Davis <ryand@zenspider.com> | 2009-06-22 12:27:06 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2009-06-22 12:27:06 -0800 |
commit | 848b53faba228a7d38f7e5461fe23cfa445f026b (patch) | |
tree | cc6df11f446fbf0513c62173baf973ee8850e622 | |
parent | 1b560215504a57ba4e8a956c255ddf9a2a55474f (diff) | |
download | hoe-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.rb | 5 |
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 |