fix uglifyjs invocation
This commit is contained in:
parent
3eb1850f48
commit
b6b07f7a7e
1 changed files with 2 additions and 5 deletions
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue