Sha256: d2c01b0a9f1bb5dcc567a3a6fa707daf15b3aba8757ec688be33d0ad9daef9b2
Contents?: true
Size: 711 Bytes
Versions: 2
Compression:
Stored size: 711 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 --universal brew install sdl_mixer --universal --with-smpeg brew install sdl_ttf --universal brew install sdl_image --universal --without-webp 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphics-1.0.0b6 | graphics_setup.sh |
graphics-1.0.0b5 | graphics_setup.sh |