File: justfile

package info (click to toggle)
rust-systemd-journal-logger 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
default:
    just --list

vet:
    # Only consider Linux dependencies, as that's all I care for.
    # Seems to be unofficial, see https://github.com/mozilla/cargo-vet/issues/579, but works
    env CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu cargo vet --locked

test-all: vet
    cargo +stable deny --all-features --locked check
    cargo +stable fmt -- --check
    cargo +stable clippy --all-targets --locked
    # Stable build, test, and docs
    cargo +stable build --locked
    cargo +stable test --locked
    cargo +stable doc
    # MSRV
    cargo +1.68 build --locked --all-targets
    # semver checks
    cargo semver-checks

release *ARGS: test-all
    cargo release {{ARGS}}