哪些非 ruby 项目使用 Rake?
我最近开始在我的个人项目中使用 Rake,主要是因为我不再喜欢 make,并且更喜欢避免仅仅为了构建而学习自定义语言。
然而,根据快速谷歌,似乎没有很多使用 rake 的非 ruby 项目。当然,没有任何一个具有任何回忆价值。
我说得对吗?有没有使用 Rake 的非 ruby 项目?为什么 rake 落后了?
编辑:由于落后,为什么没有主要的开源项目使用 Rake?例如,Rake 与 Cmake 相比缺少什么?
I have recently started using Rake for my personal projects, mainly because I am not into make anymore and prefer to avoid learning a custom language just for builds.
However, based on a quick google, there don't seem to be any many non-ruby projects using rake. And certainly none with any recall value.
Am I right? Are there any non ruby projects using Rake? And why is rake lagging behind?
EDIT: By lagging behind, why are there no major opensource project using Rake? What does Rake lack vs Cmake, for instance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我运行一个名为 Albacore 的开源项目:http://albacorebuild.net 托管在 github 上:http://github.com/derickbailey/albacore
该项目为 .NET 开发人员提供了一套用于构建 .NET 的 rake 任务系统。 rubygems.org 上的 albacore 下载量超过 5K。
我个人知道有几家跨国公司正在使用 rake 和 albacore(其中之一是一家非常大的金融机构),还有几家大型企业,至少有一种领先的敏捷项目管理产品,以及我的许多朋友和当然,我自己在 .net 中的工作
我认为人们对使用 rake 越来越感兴趣,至少在 .net 社区中是这样。不过,我不能代表 java 或 c/c++ 或其他任何东西。
不过,我认为在 ruby 社区之外,rake 永远不会像我们希望的那样大。部分原因是许多人希望坚持使用他们已经使用的语言,因此 .net 中的人们倾向于使用用 .net 等编写的构建工具,但总会有一群开发人员想要最好的工作工具,并且会找到他们使用之外的语言和工具。
I run an open source project called Albacore: http://albacorebuild.net hosted on github: http://github.com/derickbailey/albacore
this project provides .NET developers with a suite of rake tasks for building their .NET systems. there are more than 5K downloads of albacore from rubygems.org.
i personally know of several multinational corporations that are using rake and albacore (one of them being a very large financial institute), along with several large scale enterprises, at least one of the leading agile project management products, and many of my friends and of course my own work in .net
i think there is a growing interest in using rake, at least in the .net community. i can't speak for java or c/c++ or anything else, though.
i think rake will never be as big as we might want it to be, outside of the ruby community, though. this is in part because many people want to stick with the language that they work in already, so people in .net tend to use build tools that are written in .net, etc. but there will always be a contingent of developers that want to best tool for the job and will find languages and tools outside of what they use.
在我目前的工作中,我们使用 Rake 来构建 .Net Web 应用程序。我们确实发现大多数开发人员已经经历过 nant 和 MSBuild 的问题,并且学习 Ruby for Rake 有时比遭受 nant 或 MSBuild 的问题要付出更高的代价。另外,它还减少了对构建系统的依赖。
但当我们真正使用它时,它真的很棒,特别是当我们设置自己的内部 gem 服务器时。
At my current job, we have used Rake to build .Net web applications. We did find that most developers already had experience with the problems of nant and MSBuild and that learning Ruby for Rake was sometimes a higher price than suffering the problems of nant or MSBuild. Plus, it was one less dependency for the build system.
But when we did use it, it was really nice, especially when we setup our own internal gem server.
Buildr 是一个 Rake 任务框架,明确设计为替代 Ant 和 Maven 来构建 Java 应用程序。我知道至少编写 Buildr 的人实际上使用它来构建他们的 Java 项目,而且我听说其他一些人和公司使用 Buildr 或原始 Rake for Java。我也听说过 C# 也是如此。
我还知道一些 Ruby 公司已经涉足其他领域(Objective-C、JavaScript),并使用 Rake 来构建他们的移动项目。
当然,根据您是否将其定义为非 Ruby 项目,IronRuby 使用 Rake 进行构建。显然,您可能会说这是一个 Ruby 项目,但它不是 Ruby 代码,而是 99% 的 C# 和少量 XML。
几年前,在一次地区 Ruby 会议上也曾有过一次演讲,内容涉及一家嵌入式公司,该公司使用
test/unit
进行测试,并使用 Rake 构建其 C 甚至汇编代码。同样,我相信 Atomic Objects 使用 Rake 进行嵌入式工作。
Buildr is a framework of Rake tasks that is explicitly designed as a replacement for Ant and Maven to build Java applications. I know that at least the guys who wrote Buildr actually use it to build their Java projects, plus I heard of several other people and companies using either Buildr or raw Rake for Java. I also heard the same about C#.
I also know some Ruby companies that have branched out into other fields (Objective-C, JavaScript) and took Rake with them to build their mobile projects, for example.
And of course, depending on whether you define that as a non-Ruby project or not, IronRuby uses Rake for building. You could obviously argue that this is a Ruby project, but it's not Ruby code, it's 99% C# and a dash of XML.
There was also a talk a couple of years ago at one of the regional Ruby conferences about an embedded company that uses
test/unit
for testing and Rake for building their C and even assembly code.On the same vein, I believe Atomic Objects uses Rake for their embedded work.
rake 有 ruby 依赖,而 make 没有(相当多)。有时您会在 java 或 .net 项目中看到 rake,但这主要是因为这两种环境中事实上的标准构建工具都使用基于 xml 的可怕语法,这种语法编写起来很痛苦,甚至更难维护,但通常平台最终会崩溃倾向于构建与平台良好集成的工具。
rake has a ruby dependency, make doesn't (pretty much). You see rake sometimes in java or .net projects, but that is mostly because the de-facto standard build tools on both environments use a terrible xml based syntax which is a pain to write, and even harder to maintain, but usually platforms end up gravitating towards build tools that integrate well with the platform.