You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I'll just replace _scripts/*.sh with plain .go files; because I have a load of helpers I'll then use via myitcv.io/cmd/pkgconcat. But thanks for raising the issue; it's on my TODO list.
myitcv
changed the title
mage.go
_scripts: replace *.sh files with *.go equivalents
Apr 18, 2018
It allows me to "template" programs without creating dependencies. And in some cases it is more natural to "copy" a package than use it as an import (e.g. https://godoc.org/github.com/codeskyblue/go-sh)
Unfortunately I found out after writing it (despite having Googled) that there is prior art:
any chance you can convert the scripts to mage.go
https://magefile.org/
makes running on all desktops ( ie windoze) way way easier.
Great helper script :)
github.com/zvelo/zmage
here is a good example using it
https://github.com/zvelo/cobratest
--
I use mage and vgo for everything and it really helped making cross platform stuff much cleaner and easier.
The text was updated successfully, but these errors were encountered: