Skip to content

Commit

Permalink
Add more installer options to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasPickering committed Feb 2, 2024
1 parent 62dba33 commit 1df2a6d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,20 @@ cargo-dist-version = "0.6.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["homebrew"]
installers = ["homebrew", "shell"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Publish jobs to run in CI
publish-jobs = ["homebrew", "homebrew"]
publish-jobs = ["homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "LucasPickering/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]

[workspace.metadata.release]
# https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md
allow-branch = ["master"]
allow-branch = ["master"]
pre-release-replacements = [
{file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}"},
{file = "CHANGELOG.md", search = "ReleaseDate", replace = "{{date}}"},
]
publish = false # CI will handle this
]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ variables = {SERVICE1 = "dev", SERVICE2 = "also-dev"}
variables = {SERVICE1 = "prd", SERVICE2 = "also-prd"}
```

Now pick an environment to export:

```sh
> es set server
❯ === dev ===
Expand Down
14 changes: 14 additions & 0 deletions oranda.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"components": {
"artifacts": {
"package_managers": {
"preferred": {
"cargo": "cargo install env-select"
},
"additional": {
"binstall": "cargo binstall env-select"
}
}
}
}
}

0 comments on commit 1df2a6d

Please sign in to comment.