5 releases

0.1.4 Jan 12, 2025
0.1.3 Dec 3, 2024
0.1.2 Nov 22, 2024
0.1.1 Nov 22, 2024
0.1.0 Nov 16, 2024

#766 in Development tools

Download history 91/week @ 2024-11-11 266/week @ 2024-11-18 30/week @ 2024-11-25 136/week @ 2024-12-02 19/week @ 2024-12-09 3/week @ 2024-12-23 101/week @ 2025-01-06 50/week @ 2025-01-13

154 downloads per month

MIT and GPL-3.0-only

54KB
1K SLoC

Rust 1K SLoC // 0.0% comments Shell 108 SLoC // 0.0% comments PowerShell 33 SLoC

install

windows

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ahaoboy/easy-install/releases/latest/download/install.ps1 | iex"

linux/macos

curl -fsSL https://github.com/ahaoboy/easy-install/releases/latest/download/install.sh | bash

cargo

cargo binstall easy-install

cargo install easy-install

usage

# install latest
ei https://github.com/ahaoboy/mujs-build

# install v0.0.1
ei https://github.com/ahaoboy/mujs-build/releases/tag/v0.0.1

# install crate
ei ansi2


# install deno and denort
ei https://github.com/denoland/deno

# install deno
ei https://github.com/denoland/deno/releases/download/v2.1.1/deno-x86_64-pc-windows-msvc.zip
ei https://github.com/denoland/deno/releases/latest/download/deno-x86_64-pc-windows-msvc.zip

# install from json
ei "https://github.com/ahaoboy/mujs-build/releases/download/v0.0.4/dist-manifest.json"
ei "https://github.com/ahaoboy/easy-install/releases/latest/download/ffmpeg.json"

# install from local json file
ei "./dist-manifest/screentogif.json"

# install to custom directory
cargo run -- ./dist-manifest/mpv-easy.json -d c:/mpv-easy

# install to custom directory name (~/easy-install/custom-name)
cargo run -- ./dist-manifest/mpv-easy.json -d custom-name

dist-manifest.json

When the release package contains many files, add a dist-manifest.json file to define the format of each file

cargo-dist-schema

Taking mujs as an example, it contains the following files

.
├── libmujs.a
├── libmujs.o
├── libmujs.so
├── mujs-pp.exe
├── mujs.exe
└── mujs.pc

dist-manifest.json

"mujs-aarch64-apple-darwin.tar.gz": {
  "name": "mujs-aarch64-apple-darwin.tar.gz",
  "target_triples": [
    "aarch64-apple-darwin"
  ],
  "assets": [
    {
      "name": "mujs",
      "path": "mujs",
      "kind": "executable"
    },
    {
      "name": "mujs-pp",
      "path": "mujs-pp",
      "kind": "executable"
    },
    {
      "name": "libmujs.dylib",
      "path": "libmujs.dylib",
      "kind": "c_dynamic_library"
    },
    {
      "name": "libmujs.a",
      "path": "libmujs.a",
      "kind": "c_static_library"
    }
  ]
},

zoo

Dependencies

~33–72MB
~1.5M SLoC