Skip to content

Commit

Permalink
new: Add build from source flow. (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj authored Jan 21, 2025
1 parent 82e6e2b commit 98aa4bc
Show file tree
Hide file tree
Showing 40 changed files with 1,915 additions and 503 deletions.
8 changes: 6 additions & 2 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[plugins]
# moon-test = "file://./crates/cli/tests/fixtures/moon-schema.yaml"
moon-test = "https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml"
# deno-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/deno_tool.wasm"
# go-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/go_tool.wasm"
# node-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/node_tool.wasm"
# moon-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/moon_tool.wasm"
# python-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/python_tool.wasm"
# ruby-test = "file://../moonrepo/plugins/target/wasm32-wasip1/debug/ruby_tool.wasm"
wasm-test = "file://./plugins/target/wasm32-wasip1/debug/proto_wasm_test.wasm"

# [tools.wasm-test]
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
- [Rust](https://github.com/moonrepo/plugins/blob/master/tools/rust/CHANGELOG.md)
- [Schema (TOML, JSON, YAML)](https://github.com/moonrepo/plugins/blob/master/tools/internal-schema/CHANGELOG.md)

## Unreleased

#### 🚀 Updates

- Added a new interactive "build from source" flow for many built-in tools.
- Added `--build` and `--no-build` to `proto install`.
- Supported for `deno`, `go`, `node`, `python`, and `ruby`.
- WASM API
- Added a `build_instructions` plugin function for building from source, with associated structs and enums.
- Added a `ToolMetadataOutput.default_install_strategy` field, which defaults to prebuilds.
- Added a `ToolMetadataOutput.unstable` field, which can mark the tool as unstable.

## 0.44.7

#### 🚀 Updates
Expand Down
Loading

0 comments on commit 98aa4bc

Please sign in to comment.