This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generate golang code during wash build
Components-first golang actors require that `go generate` be run, with wit-bindgen as the directive. While this is easy to do, it makes the build workflow (i.e. calling `wash build`) require more steps. This commit adds support for running the golang wit-bindgen functionality as a part of `wash build`, so that users don't have to call wit-bindgen themselves, or add stanzas for generate to their code. In the future, examples can be created that assume that the 'generated' folder is present, and import code as necssary. Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
- Loading branch information