From a670aa49d9fa8d93444d21e7576ac228ca372d25 Mon Sep 17 00:00:00 2001 From: Ted Yin Date: Sun, 8 Jul 2018 10:16:53 -0700 Subject: add installation guide for OS X --- README.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.rst b/README.rst index f977005..9a52452 100644 --- a/README.rst +++ b/README.rst @@ -42,6 +42,9 @@ Guidelines Build the Example Emulator ========================== +GNU/Linux +--------- + :: # for Ubuntu @@ -56,3 +59,20 @@ Build the Example Emulator cd runes cargo build --examples --release # build the binary target/release/examples/runes --help # see the help message + +Mac OS X +-------- + +:: + + # install homebrew + /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + # install Xcode command line tools + xcode-select --install + # install SDL2 + brew install sdl2 + # rust up + curl https://sh.rustup.rs -sSf | sh + # build RuNES and enjoy + git clone https://github.com/Determinant/runes.git + cargo build --examples --release -- cgit v1.2.3-70-g09d2