debian-mirror-gitlab/debian/rules
Praveen Arimbrathodiyil b6b07f7a7e fix uglifyjs invocation
2016-09-15 14:54:49 +05:30

22 lines
836 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@ --with=systemd
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/*
override_dh_installinit:
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
dh_installinit --no-start -p gitlab --name=gitlab-unicorn
dh_installinit --no-start -p gitlab --name=gitlab-mailroom
dh_installinit --no-start -p gitlab --name=gitlab-workhorse
dh_installinit
override_dh_systemd_start:
dh_systemd_start --no-start