TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A task runner / simpler Make alternative written in Go

2 pointsby andreyneringover 3 years ago

1 comment

linkddover 3 years ago
Some interesting ideas for sure.<p>But by reading the &quot;Usage&quot; guide, I did not find how to implement this:<p><pre><code> EXEC = example.exe SOURCES = src&#x2F;main.c src&#x2F;example.c # ... OBJECTS = src&#x2F;main.o src&#x2F;example.o # ... HEADERS = includes&#x2F;example.h # ... all: $(EXEC) $(EXEC): $(OBJECTS) $(CC) $(LDFLAGS) $^ -o $@ %.o: %.c $(HEADERS) $(CC) $(CFLAGS) -c $&lt; -o $@ </code></pre> On another note, make is not that hard, it&#x27;s available on every platform, a Makefile can be very short even for complex build systems. I&#x27;m not sure replacing it with a YAML file is such a great idea.<p>Don&#x27;t get me wrong, some of the features exposed here are very good and I would like to have them in make:<p><pre><code> - .env support and dynamic variables (like the GIT_COMMIT example) - namespaces - explicit fingerprinting - cleanup with defer - dry run mode</code></pre>