File: check.sh

package info (click to toggle)
rust-openssh-sftp-client 0.15.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 452 kB
  • sloc: sh: 38; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -euxo pipefail

cd "$(dirname "$(realpath "$0")")"

cargo fmt --all -- --check
cargo clippy --all-features --all --no-deps
cargo test --doc --all-features

export RUSTDOCFLAGS="--cfg docsrs"
exec cargo +nightly doc \
    --no-deps \
    --features openssh,tracing \
    --package openssh-sftp-client \
    --package openssh-sftp-error \
    --package openssh-sftp-client-lowlevel