From 929c689f3381ac71d80b2dda55a0ddf602efafe2 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 22 Jun 2017 14:16:29 +0100 Subject: Reconfigure server package to deploy to /srv/mauvealert --- debian/rules | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 5289f9d..04033e8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,17 @@ #!/usr/bin/make -f +# Ugh +export GEM_HOME := $(shell pwd)/vendor/bundle +export PATH := ${GEM_HOME}/bin:${PATH} + %: - dh $@ --with systemd + dh $@ --with-systemd + +override_dh_auto_build: + gem install bundler + bundler install --deployment --without="test development" --jobs=4 + +override_dh_clean: + dh_clean + $(RM) -r vendor/ -- cgit v1.2.1