Skip to content

Commit

Permalink
include features in gemspec, sort the gemspec list and attach new gem…
Browse files Browse the repository at this point in the history
…spec
  • Loading branch information
parndt committed Jun 17, 2010
1 parent 7c3a8be commit 784112f
Show file tree
Hide file tree
Showing 2 changed files with 763 additions and 750 deletions.
2 changes: 1 addition & 1 deletion lib/gemspec.rb
Expand Up @@ -2,7 +2,7 @@
version = File.read(File.expand_path('../../VERSION', __FILE__)).strip
raise "Could not get version so gemspec can not be built" if version.nil?
files = %w( .gems .gitignore .yardopts Gemfile Rakefile readme.md license.md VERSION todo.md public/.htaccess )
%w(app bin config db lib public script test themes vendor).each do |dir|
%w(app bin config db features lib public script test themes vendor).sort.each do |dir|
files += Dir.glob("#{dir}/**/*")
end
files.reject!{|f| f =~ /^(public\/system)|(config\/database.yml$)|(vendor\/cache)/}
Expand Down

0 comments on commit 784112f

Please sign in to comment.