Live data from Hacker News

Replace make with Rake

trottercashion.com

1–7 of 7 posts

Re: Replace make with Rake

#3
For Erlang specifically, you should probably use rebar (http://github.com/basho/rebar). It is pretty much the best thing ever.

A common pattern lately is to use rebar with a very minimal makefile that just makes things like "make" and "make test" do the equivalent rebar actions so that people unfamiliar with it don't even notice.

Re: Replace make with Rake

#4
post #3

For Erlang specifically, you should probably use rebar ( http://github.com/basho/rebar ). It is pretty much the best thing ever. A common pattern lately is to use rebar with a very minimal makefile that just makes things like "make" and "make test" do the equivalent rebar actions so that people unfamiliar with it don't even notice.

Rebar definitely looks pretty cool. Is there any documentation for it other than this video (http://vimeo.com/8311407) though?

Re: Replace make with Rake

#5
post #3

For Erlang specifically, you should probably use rebar ( http://github.com/basho/rebar ). It is pretty much the best thing ever. A common pattern lately is to use rebar with a very minimal makefile that just makes things like "make" and "make test" do the equivalent rebar actions so that people unfamiliar with it don't even notice.

Rebar definitely looks pretty cool. Is there any documentation for it other than this video ( http://vimeo.com/8311407 ) though?

There is no real documentation yet, which is unfortunate. "rebar -c" is pretty helpful for what commands it has, and most of the layout conventions are not rebar's, but OTP's (those are documented here: http://www.erlang.org/doc/design_principles/applications.htm...). A rebar.config.sample file is provided in the GitHub repo which lists every configuration option. The mailing list and its archives are also pretty useful if you get stuck.

Re: Replace make with Rake

#6
This is a good article about fixing dumb makefiles in Joe's book, but please don't use Rake with any actual Erlang projects. Rebar does everything you want and probably more.