From e890bc552d0b6f269a82f78de1f4fcd1a0887c1c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 7 Sep 2016 08:49:52 +0200 Subject: [PATCH] Added cleanup file. --- .pkgr.yml | 1 + contrib/cleanup.sh | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100755 contrib/cleanup.sh 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