Added cleanup file.

This commit is contained in:
Martin Edenhofer 2016-09-07 08:49:52 +02:00
parent 62afe503e2
commit e890bc552d
2 changed files with 17 additions and 0 deletions

View file

@ -22,6 +22,7 @@ before:
- sed -i "s/specs:/specs:\\n pg (0.18.4)/g" Gemfile.lock - sed -i "s/specs:/specs:\\n pg (0.18.4)/g" Gemfile.lock
- sed -i "s/DEPENDENCIES/DEPENDENCIES\\n pg/g" Gemfile.lock - sed -i "s/DEPENDENCIES/DEPENDENCIES\\n pg/g" Gemfile.lock
- "#cat Gemfile.lock" - "#cat Gemfile.lock"
- contrib/cleanup.sh
env: env:
- RAILS_ENV=production - RAILS_ENV=production

16
contrib/cleanup.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -ex
rm app/assets/javascripts/app/controllers/layout_ref.coffee
rm -rf app/assets/javascripts/app/views/layout_ref/
rm app/assets/javascripts/app/controllers/api.coffee
rm app/assets/javascripts/app/controllers/_integration/slack.coffee
rm app/assets/javascripts/app/controllers/_integration/sipgate.coffee
rm app/assets/javascripts/app/controllers/karma.coffee
rm app/assets/javascripts/app/controllers/_integration/nagios.coffee
rm app/assets/javascripts/app/controllers/_integration/icinga.coffee
rm app/assets/javascripts/app/controllers/_integration/clearbit.coffee
rm app/assets/javascripts/app/controllers/role.coffee
rm app/assets/javascripts/app/controllers/report.coffee
rm app/assets/javascripts/app/controllers/report_profile.coffee