Skip to content

Commit

Permalink
manifest doesn't require itself (willcodeforwork)
Browse files Browse the repository at this point in the history
  • Loading branch information
evan committed Sep 21, 2007
1 parent 6826a0d commit 0bc66e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Manifest
@@ -1,9 +1,9 @@
test/test_echoe.rb
lib/echoe.rb
TODO
Rakefile
test/test_echoe.rb
README
Manifest
Rakefile
MIT-LICENSE
LICENSE
lib/echoe.rb
CHANGELOG
Manifest
6 changes: 4 additions & 2 deletions lib/echoe.rb
Expand Up @@ -226,8 +226,10 @@ def define_tasks
s.files += ["Rakefile"] if include_rakefile
s.files.uniq! # not really necessary
rescue Errno::ENOENT
puts "Missing manifest. You can build one with 'rake manifest'."
exit
unless ARGV.include? "manifest"
puts "Missing manifest. You can build one with 'rake manifest'."
exit
end
end
s.executables = s.files.grep(/bin/) { |f| File.basename(f) }

Expand Down

0 comments on commit 0bc66e3

Please sign in to comment.