Sha256: ec7dd1b4082a5293f8ba01cdb4979e071c90363573cddaa454a71263e8560a64
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
#!/bin/sh set -e for pkg in sdl sdl_image sdl_ttf sdl_mixer sdl_gfx smpeg freetype libogg libvorbis libsmpeg libpng libtiff; do brew uninstall $pkg || true done for gem in graphics rubysdl rsdl; do gem uninstall -ax $gem || true done # brew update brew install sdl brew install sdl_mixer --with-smpeg brew install sdl_ttf brew install sdl_image if [ -f $0 ]; then rake clean package gem install pkg/graphics*.gem else gem install graphics --pre fi rsdl -rgraphics -e 'Class.new(Graphics::Simulation) { def draw n; clear :white; text "hit escape to quit", 100, 100, :black; end; }.new(500, 250, 0, "Working!").run'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphics-1.0.0b4 | graphics_setup.sh |