Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 532 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 532 Bytes

bsb-native-example

This is a quick demo project to showcase bsb-native.

For publishing on opam see opam_of_packagejson as a helper.

Install

npm i

Build bytecode

npm run build

To build other targets (like native or js) you can call bsb directly (or add a script) with the -backend flag, like ./node_nodules/.bin/bsb -backend native or ./node_nodules/.bin/bsb -backend js.

Run

./lib/bs/bytecode/index.byte