pre_plan:
- action: cargo_fetch
plan:
- action: cargo_fmt
- action: cargo_clippy
# Can't use the cargo_test action, until HOME is set
# in the environment.
- action: shell
shell: |
export HOME=/root
# "Install" the rad program. It needs to be in $PATH.
cp /root/.radicle/bin/rad /bin/.
git config --global user.name root
git config --global user.email root@example.com
cargo test
- action: cargo_doc
- action: custom
name: dch
args:
debemail: liw@liw.fi
debfullname: "Lars Wirzenius"
- action: deb
post_plan:
- action: dput