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: Ec – a small tool to inline build commands in stand-alone source files

3 pointsby michaelfm1211over 1 year ago

1 comment

pseudo_metaover 1 year ago
So it&#x27;s basically a hybrid of mode lines and Makefiles? Interesting idea. However, I can also see this conflicting with stuff like modelines. Maybe a unique prefix could help avoid this.<p>And just a heads up:<p>&gt; There must be no white space between the starting pattern (&#x2F;&#x2F; or ##) and the command name.<p>This will not play nice with many if not most formatters, which tend to enforce a space (or in summer cases even two spaces). I think I&#x27;d consider removing this requirement.