Skip to content

Commit

Permalink
chore: update cargo dist to support Windows targets
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHedmad committed Nov 26, 2024
1 parent 9095190 commit b34aed5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ cargo-dist-version = "0.16.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ It provides an overview of what Kerblam! is and does with an hands-on project.
> binaries in the releases tab, the command below or compile directly from git with
> `cargo install --git https://github.com/MrHedmad/kerblam`.
In short, use a unix-compatible OS and either:
In short, use:
```bash
# Install a prebuilt binary
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/MrHedmad/kerblam/releases/latest/download/kerblam-installer.sh | sh
Expand Down
5 changes: 4 additions & 1 deletion docs/src/manual/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ It automatically uses the proper execution strategy based on what extension
the file is saved as: either `make` or `bash`.

> [!IMPORTANT]
> Shell scripts are always executed in `bash`.
> Shell scripts are always executed in `bash` for Linux/Unix, and as Powershell
> scripts for Windows.
>
> Note that the extension for shell files is *always* `.sh`, even on windows.
You can use any workflow manager that is installed on your system
through Kerblam! (e.g. `snakemake` or `nextflow`) by writing thin shell wrappers
Expand Down

0 comments on commit b34aed5

Please sign in to comment.