Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
makotok committed Feb 23, 2014
1 parent 6960835 commit 3053aad
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@ The following tools are required to build the API documentation.

Please set the following environment variables.

# For OSX, Linux
# .bash_profile
export
# Mac OSX
export MOAI_BIN=<install_path>/moai-dev/release/osx/host-sdl/x64/bin
export MOAI_CONFIG=<install_path>/moai-dev/samples/config

# Linux
export MOAI_BIN=<install_path>/moai-dev/release/linux/host-sdl/x64/bin
export MOAI_CONFIG=<install_path>/moai-dev/samples/config

# Windows
set MOAI_BIN=<install_path>¥moai-dev¥release¥win32¥host-sdl¥bin
set MOAI_CONFIG=<install_path>¥moai-dev¥samples¥config

## Build Hosts
Please build according to the following procedure.
Expand All @@ -52,11 +60,11 @@ Please build according to the following procedure.

# Build
cd moai-dev
./bin/build-osx.sh
./bin/build-osx-sdl.sh

# Run
cd <sample_directory>
release/osx/x64/bin/moai main.lua
$MOAI_BIN/moai main.lua

### iOS Host

Expand All @@ -67,10 +75,10 @@ Please build according to the following procedure.

# Build
cd moai-dev
./bin/build-linux_x64.sh
./bin/build-linux-sdl.sh

# Run
release/linux/x64/bin/moai main.lua
$MOAI_BIN/moai main.lua

### Android Host

Expand Down

0 comments on commit 3053aad

Please sign in to comment.