app_generators/newgem/newgem_generator.rb in newgem-0.13.1 vs app_generators/newgem/newgem_generator.rb in newgem-0.13.2
- old
+ new
@@ -55,18 +55,10 @@
m.template "version.rb", "lib/#{gem_name}/version.rb"
# Config
m.template_copy_each %w( hoe.rb requirements.rb ), "config"
- # Scripts
- # %w( generate destroy ).each do |file|
- # m.template "script/#{file}", "script/#{file}", script_options
- # m.template "script/win_script.cmd", "script/#{file}.cmd",
- # :assigns => { :filename => file } if windows
- # end
- m.dependency "install_rubigen_scripts", [destination_root, "rubygems", "newgem"], :shebang => options[:shebang]
-
%w(debug).each { |file|
m.file "empty.log", "log/#{file}.log", :chmod => 0666
}
# Tasks
@@ -90,9 +82,11 @@
# Executables
for bin_name in bin_names_list
m.dependency "executable", [bin_name], :destination => destination_root
end
+
+ m.dependency "install_rubigen_scripts", [destination_root, "rubygems", "newgem", "newgem_theme"], :shebang => options[:shebang]
m.write_manifest "Manifest.txt"
m.readme "readme"
end