4 Commits

Author SHA1 Message Date
Alex Crichton
197d3be2d6 Bump all crates to 0.4.0 (#531)
Enough has happened it seems reasonable to release everything now. There
have been a number of fixes to Rust and other generators and
additionally there's a new Go generator!
2023-03-07 15:21:58 -06:00
Jiaxiao Zhou
cd9d253d11 Refactor: Renamed folders and crates (#522)
* renamed folders and crates

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* renmae for markdown crate

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* fixed a CI error

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* changed gen-guest-teavm-java to teavm-java

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

---------

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>
2023-02-27 09:10:32 -06:00
Joel Dice
eeba5da107 remove use of Maven in Java tests (#520)
Per #495, Maven has proven quite unreliable for the past few weeks, so
now we download and execute the relevant TeaVM jars directly, which
should be more reliable.

This also fixes the lift-lower-foreign.wit codegen test for Java.

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
2023-02-23 09:24:23 -06:00
Alex Crichton
4622ea65e5 Prepare CI/automation for releasing (#498)
* Rename `wit-bindgen-gen-guest-rust` to `wit-bindgen`

This commit creates a crate called `wit-bindgen` to be used from Rust.
While the name `wit-bindgen-gen-guest-rust` makes sense in the context
of other generators when using it specifically from Rust I think it
makes more sense to have the crate simply called `wit-bindgen` for
integration since the only context that name is used within is guest
bindings generator for Rust code.

* Add release CI automation for `wit-bindgen`

This is cobbled together from the `wasm-tools` and `wasmtime`
repositories and the idea is:

* A `publish.rs` script is added for managing versions and publication
  to crates.io.
* Tags will upload binaries to GitHub releases
* CI is added for binary release builds of the CLI

* Fix copy/paste error
2023-02-13 14:54:59 -06:00