3 ms·
As someone with 5-10 active Go projects in production, may I ask why you're compiling on the server? I use cross-compilation to build locally then sync to the s
by carbocation 10y ago
As someone with 5-10 active Go projects in production, may I ask why you're compiling on the server? I use cross-compilation to build locally then sync to the server. Am curious to understand other use cases.
- git-pull 10y ago> I use cross-compilation to build locally then sync to the server. I don't have a lot of prod code in golang. It's just a gogs server, the rest of is in other languages. All of which the best practice is pulling down requirements (some of which build c-extensions against headers which versions differ) on the server. As a side note gogs has been really great. For those who don't know you can grab it at https://gogs.io/ https://gogs.io/.