From d2537c4791f8bbe3571441d365cdfe366cadbf6b Mon Sep 17 00:00:00 2001 From: Erin Keenan Date: Mon, 16 Apr 2018 07:34:16 -0700 Subject: [PATCH] add instructions for mac --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3849b3c..8a89d92 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,17 @@ $ go build $ ./phi-editor ``` -If you're on macOS, you can get these dependencies via. homebrew. If you're on windows; you have my condolences. +If you're on macOS, you can do something like this, using homebrew: + +```bash +$ brew install sdl2 sdl2_image sdl2_ttf +$ go get github.com/felixangell/phi-editor +$ cd $GOPATH/src/github.com/felixangell/phi-editor +$ go build +$ ./phi-editor +``` + +If you're on windows, you have my condolences. ## configuration Configuration files are stored in `$HOME/.phi-editor-editor/config.toml`. Note that