forked from rust-lang/log
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test default
pkg-url
for GitLab and BitBucket (rust-lang#322)
* Test default `pkt-url` for GitLab and BitBucket * Fail if `cargo-build` is called when testing GitLab/BitBucket * Fix use of `remote_exists` in `GhCrateMeta::launch_baseline_find_tasks` If `Method::HEAD` fails, try `Method::GET` since some servers reject `Method::HEAD`, e.g. bbuseruploads.s3.amazonaws.com Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
- Loading branch information
Showing
5 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "cargo-binstall" | ||
description = "Rust binary package installer for CI integration" | ||
repository = "https://bitbucket.org/nobodyxusdcdc/hello-world" | ||
version = "0.12.0" | ||
rust-version = "1.61.0" | ||
authors = ["ryan <ryan@kurte.nz>"] | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
|
||
[package.metadata.binstall] | ||
bin-dir = "{ bin }{ binary-ext }" | ||
|
||
[[bin]] | ||
name = "cargo-binstall" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
echo Always returns 1 to prevent use of "cargo-build" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "cargo-binstall" | ||
description = "Rust binary package installer for CI integration" | ||
repository = "https://gitlab.kitware.com/NobodyXu/hello-world" | ||
version = "0.2.0" | ||
rust-version = "1.61.0" | ||
authors = ["ryan <ryan@kurte.nz>"] | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
|
||
[package.metadata.binstall] | ||
bin-dir = "{ bin }{ binary-ext }" | ||
|
||
[[bin]] | ||
name = "cargo-binstall" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters