Skip to content

Commit

Permalink
Add a dummy Rakefile that tells people to use thor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Donovan committed May 14, 2008
1 parent 8147762 commit f53651d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
begin
require 'rubygems'
require 'thor'

$stderr.puts "Robot Army uses thor, not rake. Here are the available tasks:"
exec "thor -T"
rescue LoadError
$stderr.puts "Robot Army uses thor, not rake. Please install thor."
end
2 changes: 1 addition & 1 deletion Thorfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SPEC = Gem::Specification.new do |s|
s.homepage = HOMEPAGE
s.rubyforge_project = PROJECT

# s.require_path = 'lib'
s.require_path = 'lib'
# s.bindir = "bin"
# s.executables = %w( thor )
s.files = %w(LICENSE README.markdown Rakefile) + Dir.glob("{bin,lib,specs}/**/*")
Expand Down

0 comments on commit f53651d

Please sign in to comment.