diff --git a/.pkgr.yml b/.pkgr.yml index b957bdb2b..2027be8d1 100644 --- a/.pkgr.yml +++ b/.pkgr.yml @@ -22,6 +22,7 @@ before: - sed -i "s/specs:/specs:\\n pg (0.18.4)/g" Gemfile.lock - sed -i "s/DEPENDENCIES/DEPENDENCIES\\n pg/g" Gemfile.lock - "#cat Gemfile.lock" + - contrib/cleanup.sh env: - RAILS_ENV=production diff --git a/contrib/cleanup.sh b/contrib/cleanup.sh new file mode 100755 index 000000000..048c33847 --- /dev/null +++ b/contrib/cleanup.sh @@ -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