diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-30 08:32:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-30 12:04:30 +0300 |
commit | d4c0918adbf8d1b88393df3763845cec1767e67b (patch) | |
tree | 53e4d3dee34886241edef578d5a254f041a19e71 /debian/rules | |
parent | 38bbcad18e7c1860b88a1210a15b3dc3714c6055 (diff) | |
download | bumper-rs-d4c0918adbf8d1b88393df3763845cec1767e67b.tar.gz |
build: add Debian packaging
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9c0d08b --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + true + +override_dh_auto_install: + cargo install --path=. --root=debian/obnam + find debian/obnam -name '.crates*' -delete + +override_dh_auto_test: + ./check |