moonrepo / moon

A build system and monorepo management tool for the web ecosystem, written in Rust.
https://moonrepo.dev/moon
MIT License
2.81k stars 154 forks source link

[feature] Golang Tier 2 #1572

Open doron-cohen opened 1 month ago

doron-cohen commented 1 month ago

Is your feature request related to a problem? Please describe.

I wasn't sure if to open this here or in the tools repo. I would love implicit dependency detection on Golang code. I've built a similar tool in Go for that but then I found about moon. I think this will make moon one of the best build tools for Golang monorepos.

milesj commented 1 month ago

It's definitely on the roadmap, but newer language developer is sort of paused right now till we move entirely to WASM plugins.

I'm not a Go expert, so I could definitely use some guidance on best practices for using Go in a monorepo! Or just in general.

doron-cohen commented 1 month ago

BTW, any way I could help expedite this feature? I don't code in Rust (although I would love to) but could help with writing it in Go and compiling to WASM (if this is a viable way of integration).

milesj commented 1 month ago

The WASM plugins is taking longer than expected. I think it's best too loosen the restriction of no new language development in Rust. With the said, there is some docs if you want to give it a shot.

https://github.com/moonrepo/moon/blob/master/scripts/new-language.md (this is probably outdated a bit)