adriens / chocolatey-gomplate

Chocolatey package for gomplate
Apache License 2.0
1 stars 0 forks source link

Automate build with ant #4

Open adriens opened 3 years ago

adriens commented 3 years ago

... then automate it on GH Action see #2

hairyhenderson commented 3 years ago

I'm not sure I understand this one - why ant?

adriens commented 3 years ago

Ihave to perform download tasks, hashing, some renaming actions. I'm more comfortable with and than with PS scripting. I use it to prepare the required files than run choco to build & publish.

adriens commented 3 years ago

ALso it helps keep things organized in unit and documented tasks, is available and packaged on any windows and linux distro

hairyhenderson commented 3 years ago

ok, fair enough... personally I'd use make (that's also available on all of the windows/linux images that GitHub Actions uses), or go with something more Go-adjacent.

But for now, go ahead with whatever you're comfortable with 😉

adriens commented 3 years ago

Hmmm, do you have an equivalent of ant which would as conveniant (I mean tasks based) as ant (or rake) be GO based ?

hairyhenderson commented 3 years ago

There is mage which is quite nice: https://magefile.org/ - I haven't used it much, though I've toyed with replacing some Makefiles with it recently.

TBH I'm not 100% sure what needs such a framework though - in theory this could be a few simple commands in a GitHub Actions workflow