Skip to content

Latest commit

 

History

History
executable file
·
31 lines (20 loc) · 913 Bytes

README_en.md

File metadata and controls

executable file
·
31 lines (20 loc) · 913 Bytes

Compiling and Executing

Building and executing Points

In the development directory do it

$cd src
$scons

It will build the lua module points-module.lua and the binary points. While executing, the binary points needs to find the lua module. It is done through the enviroument variable PTSPATH that can be added to .bashrc file. For example:

$ export PTSPATH=$HOME/points

Running in development mode

The binary built is only a cli that execute the functions of lua module. During the lua code development the best way is interface using the cli of lua itself. To run the lua mudule from lua do this:

$ lua -i src/loader.lua

The loader.lua will load all necessaried files to execute Points. The lua file sequence compilation is also get from this file, in other words, if you add another file to the software it should be loaded by loader.lua file as well.