A stupid RSpec formatter that prints FFFUUU instead of FFFFF. Heh.
Throw it in a file and run your specs like this:
$ rspec -r path/to/fffuuu_formatter.rb -f FffuuuFormatter spec/
module FFI | |
module Library | |
TYPE_MAP = { | |
:string => DL::TYPE_VOIDP, | |
:pointer => DL::TYPE_VOIDP, | |
} | |
DL.constants.each do |const| | |
next unless const.to_s =~ /^TYPE_/ |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install | |
curl http://npmjs.org/install.sh | sh |