Archive

Git

One thing that’s great about many modern package managers like npm is that they make it really easy to install software from source repositories, not just from packages. Fortunately, it’s really easy to build a (very simple) version of this on top of Racket’s raco link command. Thus, the raco git tool. Here’s how to use it:

% raco git --github offby1 rudybot

And that’s all you need to do to install rudybot, everyone’s favorite IRC bot. Now there’s a Racket collection set up called rudybot, and you can do things like:

% racket -t rudybot/loop

To install raco git, do the following:

% git clone http://github.com/samth/raco-git.git
% raco link raco-git
% raco setup raco-git