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 forms.className = "forms"; var header_td_form = $("table#header td.form"); header_td_form.children().appendTo(header_form); header_td_form.remove(); var tab_items = $("table.tabs td").map(function(i, v) { var div = document.createElement("div"); $(v).children().appendTo(div); return div; }); tab_items[1].className = "form"; header_form.className = "form"; $([tab_items[1], header_form]).appendTo(forms); $(tab_items[0]).appendTo(tabs); $("table.tabs").remove(); var header = $("table#header"); $(tabs).insertAfter(header); $(forms).insertAfter(header); header.css('display', 'inline-block'); header.css('width', 'auto'); } function wrap_fat_elements() { /* wrap the elements that could be very large in width */ $("table.list, table.blob, table.ssdiff, " + "table.bin-blob, table.nowrap, table.commit-info, " + "table.diffstat, table.diff, table.list, table.stats, " + "table.vgraph, table.hgraph, table.blame" ).wrap("
"); $('.table-wrap, pre.literal-block').mCustomScrollbar({ axis: 'x', theme: 'minimal', autoHideScrollbar: true, autoDraggerLength: true, scrollInertia: 100, mouseWheel: { enable: true, axis: 'x' }, documentTouchScroll: true }); } $(function() { go_responsive(); wrap_fat_elements(); });
aboutsummaryrefslogtreecommitdiff
blob: 7b421fab3c2fa43b694c8d904202364b7135f9c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71