Skip to content

Commit

Permalink
Make AR generators discoverable again.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin authored and mattetti committed Dec 13, 2008
1 parent e626432 commit 3885688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions merb_activerecord/Generators
@@ -0,0 +1,4 @@
scope 'merb-gen' do
dir = File.join(File.dirname(__FILE__), 'lib', 'generators/')
Merb.add_generators dir + 'migration', dir + 'model', dir + 'resource_controller', dir + 'session_migration'
end
2 changes: 1 addition & 1 deletion merb_activerecord/Rakefile
Expand Up @@ -37,7 +37,7 @@ spec = Gem::Specification.new do |s|
s.homepage = PROJECT_URL
s.add_dependency('merb-core', '>= 0.9.9')
s.require_path = 'lib'
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib}/**/*")
s.files = %w(LICENSE README Rakefile TODO Generators) + Dir.glob("{lib}/**/*")
end

Rake::GemPackageTask.new(spec) do |pkg|
Expand Down

0 comments on commit 3885688

Please sign in to comment.