TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mage: a make/rake-like build tool using Go

10 点作者 NateDad超过 7 年前

1 comment

NateDad超过 7 年前
Mage was born of my frustration with people using Makefiles to build Go projects. Makefiles are not cross platform compatible (good luck running them on Windows without jumping through some hoops), they have significant whitespace, they are generally written in bash, with added idiosyncratic syntax on top of an already idiosyncratic syntax...<p>So I made Mage. Mage tries to take the best parts of Makefiles (dependency trees, ease of execution, partially self-documenting code) and rework it to run with a better programming language (go).<p>It&#x27;s still a work in progress, but I think it&#x27;s in a very good initial state. It lets you declare targets and dependencies and it&#x27;ll resolve the dependnecies into a tree that&#x27;ll run them from leaf to root in parallel, all executing exactly once.<p>It doesn&#x27;t have file targets yet, but that is on the docket, along with helpers to make writing code that executes commands in go less ugly.<p>Let me know what you think.