Rakefile in backlog-0.13.0 vs Rakefile in backlog-0.13.1
- old
+ new
@@ -41,9 +41,11 @@
Rake::Task[:release_war].invoke
Rake::Task[:post_news].invoke
end
task :release_war do
+ File.mkdir 'WEB-INF' unless File.exists? 'WEB-INF'
+ FileUtils.cp 'vendor/plugins/goldspike/generators/goldspike/templates/web.xml.erb', 'WEB-INF/web.xml.erb' unless File.exists? 'WEB-INF/web.xml.erb'
Rake::Task['war:standalone:create'].invoke
war_pkg_file = "pkg/backlog-#{APP::VERSION}.war"
if File.exists? 'backlog.war'
File.makedirs 'pkg'
File.move 'backlog.war', war_pkg_file