From 1df2a6d8dfc991a38a17b1a155e9ba203945f54b Mon Sep 17 00:00:00 2001 From: Lucas Pickering Date: Thu, 1 Feb 2024 19:22:53 -0500 Subject: [PATCH] Add more installer options to docs --- Cargo.toml | 9 ++++----- README.md | 2 ++ oranda.json | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 oranda.json diff --git a/Cargo.toml b/Cargo.toml index 0df209c..893d1a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,11 +47,11 @@ 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) @@ -59,9 +59,8 @@ targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-dar [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 +] diff --git a/README.md b/README.md index 6a96765..f853968 100644 --- a/README.md +++ b/README.md @@ -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 === diff --git a/oranda.json b/oranda.json new file mode 100644 index 0000000..0a4e497 --- /dev/null +++ b/oranda.json @@ -0,0 +1,14 @@ +{ + "components": { + "artifacts": { + "package_managers": { + "preferred": { + "cargo": "cargo install env-select" + }, + "additional": { + "binstall": "cargo binstall env-select" + } + } + } + } +}