diff --git a/Cask.toml b/Cask.toml new file mode 100644 index 000000000..8c0396b04 --- /dev/null +++ b/Cask.toml @@ -0,0 +1,27 @@ +[package] +name = "github.com/svenstaro/miniserve" +bin = "miniserve" +repository = "https://github.com/svenstaro/miniserve" +description = """ +🌟 For when you really just want to serve some files over HTTP right now! +""" + +[darwin] +x86_64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-x86_64-apple-darwin"} +aarch64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-aarch64-apple-darwin"} + +[windows] +x86_64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-x86_64-pc-windows-msvc.exe"} + +[linux] +x86_64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-x86_64-unknown-linux-musl"} +arm = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-arm-unknown-linux-musleabihf"} +armv7 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-armv7-unknown-linux-musleabihf"} +aarch64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-aarch64-unknown-linux-musl"} +mips = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-mips-unknown-linux-musl"} +mips64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-mips64-unknown-linux-gnuabi64"} +mips64el = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-mips64el-unknown-linux-gnuabi64"} +riscv64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-riscv64gc-unknown-linux-gnu"} + +[freebsd] +x86_64 = { executable = "https://github.com/svenstaro/miniserve/releases/download/v{version}/miniserve-v{version}-x86_64-unknown-freebsd" } diff --git a/README.md b/README.md index 719ed72bc..3d634bd40 100644 --- a/README.md +++ b/README.md @@ -276,6 +276,10 @@ Alternatively install with [Scoop](https://scoop.sh/): podman run -v /tmp:/tmp -p 8080:8080 --rm -it docker.io/svenstaro/miniserve /tmp +**With [Cask](https://github.com/axetroy/cask.rs):** Just run + + cask install github.com/svenstaro/miniserve + ## Shell completions If you'd like to make use of the built-in shell completion support, you need to run `miniserve