https://github.com/3w36zj6/mise-moonbit
A mise tool plugin for MoonBit toolchain
https://github.com/3w36zj6/mise-moonbit
mise mise-plugin moonbit
Last synced: 6 days ago
JSON representation
A mise tool plugin for MoonBit toolchain
- Host: GitHub
- URL: https://github.com/3w36zj6/mise-moonbit
- Owner: 3w36zj6
- License: mit
- Created: 2026-01-03T21:07:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-04-13T15:38:30.000Z (about 2 months ago)
- Last Synced: 2026-04-13T17:39:05.504Z (about 2 months ago)
- Topics: mise, mise-plugin, moonbit
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mise-moonbit
A mise tool plugin for MoonBit toolchain.
## Installation
```bash
mise plugin install moonbit https://github.com/3w36zj6/mise-moonbit
```
## Environment variables
- `MOON_HOME` points to the installation root.
- `PATH` is extended with `${MOON_HOME}/bin` so `moon`, `moonfmt`, `mooninfo`, etc. are available.
- Override downloads with `CLI_MOONBIT` (default `https://cli.moonbitlang.com`).
- Set `MOONBIT_INSTALL_VERSION` to pin a release instead of `latest`/`nightly`.
- Set `MOONBIT_INSTALL_DEV=true` to request the `-dev` builds the official script supports.
## Usage
```bash
mise exec moonbit@latest -- moon version
mise exec moonbit@latest -- moon new hello
mise exec moonbit@latest -- moon run cmd/main
```
## Development
1. Link your plugin for development:
```bash
mise plugin link --force mise-moonbit .
```
2. Run tests:
```bash
mise run test
```
3. Run linting:
```bash
mise run lint
```
4. Run full CI suite:
```bash
mise run ci
```
## References
- MoonBit download page: https://www.moonbitlang.com/download
- Original installer script that inspired this plugin: https://cli.moonbitlang.com/install/unix.sh
## License
MIT