Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Working from source

Tomas Slusny edited this page Aug 17, 2015 · 13 revisions

Prerequisites

First, you will need to have

Then, if you sucesfully set your JAVA_HOME and added your Java installation to PATH variable, we can start compiling.

Using LuaRocks server

luarocks install --server=http://luarocks.org/dev yae

Above will install latest development version from this repository, so it is basically simplified version of what can be seen below.

Manually compiling and installing

At first, simply navigate to root of Yae source code, what you can download using this command:

git clone https://github.com/yaedev/yae.git

now navigate into the directory where you cloned yae. Now all we need to do is call

luarocks make

What is actually happening

Above commands will

  • precompile engine source code to Java bytecode
  • install yae-dev-1 rock
  • add yae executable to your PATH, so you will be able to run it from console