aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules14
1 files changed, 13 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 1db7492..9449283 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,19 @@
#!/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/
override_dh_auto_test: