Auto update show page template when bundle update.
This commit is contained in:
parent
60b8e5c146
commit
4516aae57e
|
@ -88,6 +88,12 @@ all_template.each do |folder|
|
|||
rescue => e
|
||||
puts "not found #{folder}assets/stylesheets/template/base/_variables.scss"
|
||||
end
|
||||
begin
|
||||
puts "updating announcement show page"
|
||||
Bundler.with_clean_env{%x[cp -f #{app_path}/modules/announcement/show.html.erb #{folder}modules/announcement/show.html.erb]}
|
||||
rescue
|
||||
puts "There has some error in updating announcement show page"
|
||||
end
|
||||
end
|
||||
end
|
||||
if old_gemfile_text != new_gemfile_text
|
||||
|
|
Loading…
Reference in New Issue