mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-27 07:10:58 +08:00
radicle-git init
Port over all git relevant parts of the radicle-link repository[0]. The packages that are kept are: * git-ext * git-ref-format * git-trailers * link-git * macros * std-ext * test -- only the portions that test the above The development and testing scripts are also added for local and CI testing. [0]: https://github.com/radicle-dev/radicle-link/ Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
cargo deny --version
|
||||
cargo deny check advisories
|
||||
cargo deny check licenses
|
||||
cargo deny check bans
|
||||
cargo deny check sources
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
cargo build --tests --workspace
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links -D warnings" \
|
||||
cargo doc --no-deps --workspace --document-private-items
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
cargo +nightly fmt -- --check
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
# Force clippy to consider all local sources
|
||||
# https://github.com/rust-lang/rust-clippy/issues/4612
|
||||
find . -name "*.rs" -not -path "./target/*" -exec touch "{}" +
|
||||
cargo clippy --all-targets -- -D warnings
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
if brew ls --versions gnu-tar > /dev/null; then
|
||||
echo "gnu-tar is already installed"
|
||||
else
|
||||
brew install gnu-tar
|
||||
fi
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eou pipefail
|
||||
|
||||
./scripts/ci/fmt
|
||||
./scripts/ci/lint
|
||||
./scripts/ci/advisory
|
||||
./scripts/ci/build
|
||||
./scripts/ci/test
|
||||
./scripts/ci/docs
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
RUST_LOG=error ssh-agent cargo nextest run \
|
||||
--status-level all \
|
||||
--failure-output immediate-final \
|
||||
--no-fail-fast \
|
||||
--retries 2
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
cargo nextest run --no-fail-fast tests properties
|
||||
Reference in New Issue
Block a user