Skip to content

Commit

Permalink
Remove generators and task
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Mar 9, 2010
1 parent 0de4bdc commit e420a2f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 41 deletions.
8 changes: 8 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ defined tasks.
warble war:clean # Remove the .war file
warble war:debug # Dump diagnostic information

If you'd like to control Warbler from your own project's Rakefile,
simply add the following code somewhere in the Rakefile:

require 'warbler'
Warbler::Task.new

Now you should be able to invoke "rake war" to create your war file.

== Configuration

=== Rails applications
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require 'spec/rake/spectask'
require 'spec/rake/verify_rcov'

MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt", "LICENSE.txt", "Rakefile",
"*.erb", "bin/*", "generators/**/*", "lib/**/*", "spec/**/*.rb", "tasks/**/*.rake"]
"*.erb", "*.rb", "bin/*", "lib/**/*", "spec/**/*.rb"]

begin
File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
Expand Down
2 changes: 1 addition & 1 deletion bin/warble
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Warbler::Application < Rake::Application
puts "I'm confused; my favorite branch is missing"
puts "(directory 'config' is missing)"
else
cp "#{Warbler::WARBLER_HOME}/generators/warble/templates/warble.rb", Warbler::Config::FILE
cp "#{Warbler::WARBLER_HOME}/warble.rb", Warbler::Config::FILE
end
end

Expand Down
20 changes: 0 additions & 20 deletions generators/warble/warble_generator.rb

This file was deleted.

19 changes: 0 additions & 19 deletions tasks/warbler.rake

This file was deleted.

File renamed without changes.

0 comments on commit e420a2f

Please sign in to comment.