debian-mirror-gitlab/debian/rules

24 lines
933 B
Text
Raw Normal View History

2014-09-02 17:59:05 +05:30
#!/usr/bin/make -f
%:
dh $@ --with=systemd
2016-02-04 16:22:17 +05:30
override_dh_install:
2016-07-17 23:33:09 +05:30
dh_install -XLICENSE
2016-09-15 14:54:49 +05:30
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
2016-02-13 19:11:17 +05:30
# Make sure we are installing all required files in debian/install
2016-02-13 19:38:52 +05:30
sh debian/upstream-file-count-check.sh
rm -rf debian/gitlab/usr/share/gitlab/tmp/*
2016-10-01 15:08:03 +05:30
mv debian/gitlab/var/lib/gitlab/db/schema.rb debian/gitlab/var/lib/gitlab/db/schema.rb.template
2016-02-04 16:22:17 +05:30
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