nano-rust/cargo-nan.sh

13 lines
484 B
Bash
Raw Normal View History

2023-12-02 16:31:03 +00:00
#!/bin/bash
export CARGO_REGISTRIES_GITEA_NANOBYTE_CREDENTIAL_PROVIDER=cargo:token
2023-12-02 23:44:21 +00:00
export CARGO_REGISTRIES_GITEA_NANOBYTE_TOKEN="Bearer $1"
2023-12-02 16:31:03 +00:00
export CARGO_REGISTRIES_GITEA_NANOBYTE_INDEX=sparse+https://git.nanobyte.cz/api/packages/nanobyte/cargo/
export CARGO_REGISTRIES_GITEA_OVLACH_CREDENTIAL_PROVIDER=cargo:token
2023-12-02 23:44:21 +00:00
export CARGO_REGISTRIES_GITEA_OVLACH_TOKEN="Bearer $1"
2023-12-02 16:31:03 +00:00
export CARGO_REGISTRIES_GITEA_OVLACH_INDEX=sparse+https://git.nanobyte.cz/api/packages/ovlach/cargo/
shift
"$@"