Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 930 Bytes

index.md

File metadata and controls

60 lines (43 loc) · 930 Bytes
layout title section
page
Base9 Setup
setup

This page contains some basic instructions to get you started. For more detailed instructions, go to:

Requirements

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

Clone the repository and get the submodules

git clone --recursive https://github.com/b9org/b9.git

Install Esprima

cd b9 \
&& npm install esprima

Build base9

mkdir build \
&& cd build \
&& cmake -GNinja -DCMAKE_BUILD_TYPE=Debug .. \
&& ninja

Run Hello World!

In the build directory, run:

./b9run/b9run ./test/hello.b9mod

Test base9

You can run the full base9 test suite with:

ninja test