~taiite/protodump

12246fc1a5bc54a15eea379f532c51521a250620 — Hubert Hirtz 1 year, 5 months ago d9b39cc
Add build script
1 files changed, 23 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +23 -0
@@ 0,0 1,23 @@
image: alpine/edge
packages:
  - cargo
  - rust-clippy
  - rustfmt
sources:
  - https://git.sr.ht/~taiite/protodump
environment:
  RUST_BACKTRACE: 1
tasks:
  - test: |
      cd protodump
      cargo test --locked --all --all-targets --no-run
      cargo test --locked --all
  - fmt: |
      cd protodump
      cargo fmt --all --check
  - clippy: |
      cd protodump
      cargo clippy --locked --all --all-targets -- \
          -Dclippy::negative_feature_names \
          -Dclippy::redundant_feature_names \
          -Dwarnings