Rake vs. Make

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Rake vs. Make

Post by michiguel »

Anybody is using Rake instead of Make? It is like Make with the syntax of ruby, a very powerful and flexible language.

I started to use ruby to replace bash scripts (which has a syntax I do not like) and I found Rake. I never used makefiles before because its syntax has been always awkward for me. I just started to use Rake for a couple of simple things and I have the feeling that I am going to get attached to it.

Miguel
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Rake vs. Make

Post by bob »

michiguel wrote:Anybody is using Rake instead of Make? It is like Make with the syntax of ruby, a very powerful and flexible language.

I started to use ruby to replace bash scripts (which has a syntax I do not like) and I found Rake. I never used makefiles before because its syntax has been always awkward for me. I just started to use Rake for a couple of simple things and I have the feeling that I am going to get attached to it.

Miguel
I have seen it, but I will give the same reasoning I always give when someone asks me "Why do you use vi for your editor?" The answers are:

(1) it is a very powerful editor, if somewhat cryptic. But it does exactly what I want, with minimal keystrokes.

(2) it is on every unix system around. I can't depend on other editors to be present.

There are a couple of Make-like alternatives, but I hate to depend on things that I then have to install before I can do anything. And then to tell users that they need the crafty source, then another package to do this, another package to do that...
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Rake vs. Make

Post by michiguel »

bob wrote:
michiguel wrote:Anybody is using Rake instead of Make? It is like Make with the syntax of ruby, a very powerful and flexible language.

I started to use ruby to replace bash scripts (which has a syntax I do not like) and I found Rake. I never used makefiles before because its syntax has been always awkward for me. I just started to use Rake for a couple of simple things and I have the feeling that I am going to get attached to it.

Miguel
I have seen it, but I will give the same reasoning I always give when someone asks me "Why do you use vi for your editor?" The answers are:

(1) it is a very powerful editor, if somewhat cryptic. But it does exactly what I want, with minimal keystrokes.

(2) it is on every unix system around. I can't depend on other editors to be present.

There are a couple of Make-like alternatives, but I hate to depend on things that I then have to install before I can do anything. And then to tell users that they need the crafty source, then another package to do this, another package to do that...
Yes, I agree, but I did not mean to use it for distribution, but for personal use.

Miguel