News for hackers. Stuff that matters.
Re:How did I run that code again? Tools to help recall by sigmonsays on Friday January 28, 2022 @09:32AM (#30115042)
I dont get mage, but i've been using makefiles for over 13 years.

I love go but the only example on the site is bad, and there is not any others. Also, executing commands in go is tedious and verbose w/o helpers. The "Why" on the page fails to convince me as well.

How is a makefile too much whitespace?

Is there any good examples of mage being used in a larger project? preferably a popular one?

Re:How did I run that code again? Tools to help recall by theshrike79 on Friday January 28, 2022 @10:54AM (#30116204)
If your makefile is mostly just simple single commands, there really is no point in moving to magefiles.

The test/lint/build phases of my magefiles are mostly the same as makefiles. What differs is the publish command:

There I can make use of (for example)native AWS libraries to do complex deployment processes with error checking and validation. All this is of course doable with makefiles, but it gets very tedious compared to a "real" programming language.