Compiling Sunaba Player
Prerequisites
To compile, you will need the following:
Getting the repository
$ git clone https://github.com/sunabagg/sunaba-player.git
$ cd sunaba-player
Installing haxe dependencies
$ haxelib git sunaba https://github.com/sunabagg/sunaba.git
$ haxelib git tsukuru https://github.com/sunabagg/tsukuru.git
$ haxelib install hxnodejs
Getting the runtime libraries
You will need to obtain the necessary runtime libraries for you target platform either by compiling them or by download prebuilt one using the update option in the build command
Windows
./build update
Unix-like systems ( macOS, Linux )
$ ./build.sh update
Build & Run
Here's an example of how to build & run Sunaba Player from the command line
Windows
./build run
Unix-like systems ( macOS, Linux )
$ ./build.sh run
Build & Export
Here's an example of how to build & export a release version
Windows
./build export -release
Unix-like systems ( macOS, Linux )
$ ./build.sh export -release