[DRE-commits] [gitlab] 01/01: fix uglifyjs invocation

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Sep 15 09:25:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit b6b07f7a7e41c0bd2505c2c916e9f27c0ccede0d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Sep 15 14:54:49 2016 +0530

    fix uglifyjs invocation
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index cab091b..9fd0b75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,10 @@
 %:
 	dh $@ --with=systemd
 
-override_dh_build:
-	dh_build
-	uglify -o vendor/assets/javascripts/vue.min.js vendor/assets/javascripts/vue.full.js
-	uglify -o vendor/assets/javascripts/vue-resource.min.js vendor/assets/javascripts/vue-resource.full.js
-
 override_dh_install:
 	dh_install -XLICENSE
+	uglifyjs -o debian/gitlab/usr/share/gitlab/vendor/assets/javascripts/vue.min.js vendor/assets/javascripts/vue.full.js
+	uglifyjs -o debian/gitlab/usr/share/gitlab/vendor/assets/javascripts/vue-resource.min.js vendor/assets/javascripts/vue-resource.full.js
 	# Make sure we are installing all required files in debian/install
 	sh debian/upstream-file-count-check.sh
 	rm -rf debian/gitlab/usr/share/gitlab/tmp/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list