layout | title | section |
---|---|---|
page |
Base9 Setup |
setup |
This page contains some basic instructions to get you started. For more detailed instructions, go to:
To get started with base9 using the Ninja build system, you'll need the following:
git
build-essential
nodejs
(Minimum version 4.5.0)npm
esprima
cmake
(Minimum version 3.2.0)ninja
git clone --recursive https://github.com/b9org/b9.git
cd b9 \
&& npm install esprima
mkdir build \
&& cd build \
&& cmake -GNinja -DCMAKE_BUILD_TYPE=Debug .. \
&& ninja
In the build
directory, run:
./b9run/b9run ./test/hello.b9mod
You can run the full base9 test suite with:
ninja test