Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Used Hoe#add_include_dirs to clean up rakefile.

[git-p4: depot-paths = "//src/heckle/dev/": change = 4218]
  • Loading branch information...
commit 8093675580841f9a5058fa6b4a25c758ddb75918 1 parent fb83c6a
@zenspider zenspider authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 Rakefile
View
14 Rakefile
@@ -1,13 +1,15 @@
# -*- ruby -*-
-$: << 'lib'
+Hoe.add_include_dirs("../../ParseTree/dev/lib",
+ "../../ParseTree/dev/test",
+ "../../RubyInline/dev/lib",
+ "../../ruby2ruby/dev/lib",
+ "../../ZenTest/dev/lib",
+ "../../sexp_processor/dev/lib",
+ "lib")
require 'rubygems'
require 'hoe'
-
-deps = %w(ParseTree RubyInline ruby2ruby ZenTest)
-$:.push(*deps.map { |p| "../../#{p}/dev/lib" })
-
require './lib/heckle.rb'
Hoe.new('heckle', Heckle::VERSION) do |heckle|
@@ -24,6 +26,4 @@ Hoe.new('heckle', Heckle::VERSION) do |heckle|
heckle.extra_deps << ['ZenTest', '>= 3.5.2']
end
-Hoe::RUBY_FLAGS.sub! /-I/, "-I#{deps.map { |p| "../../#{p}/dev/lib" }.join(":")}:"
-
# vim: syntax=Ruby
Please sign in to comment.
Something went wrong with that request. Please try again.