【问题标题】:What's the closest Node.js equivalent to Rakefiles?与 Rakefiles 最接近的 Node.js 是什么?
【发布时间】:2013-08-06 14:48:54
【问题描述】:

我想从 Makefiles 切换到更符合 Node 习惯的东西,但是 npm run-scripts 不能相互依赖,而且 grunt 让构建 shell 任务变得异常复杂。

是否有其他 Node 工具可以轻松编写依赖的 shell 任务?

【问题讨论】:

  • 好吧,shell 任务本身可能不是惯用的,因为它们会缩小支持的系统,或者必须为每个不同的系统编写。但是,一般来说,您可以将child_processasyncq 混合使用来控制它们何时启动。
  • Grunt 有什么过分复杂的地方?

标签: node.js shell makefile task


【解决方案1】:

我以前从未使用过它,Grunt 已经满足了我的需求,但我认为 Jake 可能是你要找的东西 http://howtonode.org/intro-to-jake

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-11-02
    • 1970-01-01
    • 2012-06-10
    • 1970-01-01
    • 1970-01-01
    • 2013-08-07
    • 2012-09-03
    相关资源
    最近更新 更多