mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
54 lines
1.3 KiB
Diff
54 lines
1.3 KiB
Diff
Remove cargo-husky dependency to fix running `cargo test` command on buildozer
|
|
|
|
> error: failed to run custom build command for `cargo-husky v1.5.0`
|
|
>
|
|
> Caused by:
|
|
> process didn't exit successfully: `/home/buildozer/aports/testing/cargo-generate/src/cargo-generate-0.18.1/target/debug/build/cargo-husky-d53e0402e0fa64a4/build-script-build` (exit status: 1)
|
|
> --- stderr
|
|
> Error: IO error: Permission denied (os error 13)
|
|
> warning: build failed, waiting for other jobs to finish...
|
|
> >>> ERROR: cargo-generate: check failed
|
|
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -117,7 +117,6 @@ dependencies = [
|
|
"anyhow",
|
|
"assert_cmd",
|
|
"bstr",
|
|
- "cargo-husky",
|
|
"clap",
|
|
"console",
|
|
"dialoguer",
|
|
@@ -151,12 +150,6 @@ dependencies = [
|
|
"walkdir",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "cargo-husky"
|
|
-version = "1.5.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad"
|
|
-
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.79"
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -57,16 +57,6 @@ indoc = "~2.0"
|
|
url = "~2.3"
|
|
bstr = "~1.3"
|
|
|
|
-[dev-dependencies.cargo-husky]
|
|
-version = "~1.5"
|
|
-default-features = false
|
|
-features = [
|
|
- "prepush-hook",
|
|
- "run-cargo-test",
|
|
- "run-cargo-clippy",
|
|
- "run-cargo-fmt",
|
|
-]
|
|
-
|
|
[features]
|
|
default = ["vendored-libgit2"]
|
|
vendored-libgit2 = ["git2/vendored-libgit2"]
|