easy-install

Crates.ioeasy-install
lib.rseasy-install
version0.1.3
sourcesrc
created_at2024-11-16 03:02:15.37904
updated_at2024-12-03 13:41:15.248829
descriptioneasy-install
homepagehttps://github.com/ahaoboy/easy-install
repositoryhttps://github.com/ahaoboy/easy-install
max_upload_size
id1449830
size159,242
阿豪 (ahaoboy)

documentation

README

install

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

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

Commit count: 29

cargo fmt