Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bsansouci/bsb-native-example
https://github.com/bsansouci/bsb-native-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsansouci/bsb-native-example
- Owner: bsansouci
- Created: 2017-07-13T09:10:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T00:01:20.000Z (about 4 years ago)
- Last Synced: 2024-04-15T09:18:43.528Z (3 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-reasonml - Example Native Project
- awesome-reasonml - Example Native Project
README
bsb-native-example
---This is a quick demo project to showcase [bsb-native](https://github.com/bsansouci/bsb-native).
For publishing on opam see [opam_of_packagejson](https://github.com/bsansouci/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_modules/.bin/bsb -backend native` or `./node_modules/.bin/bsb -backend js`.
## Run
`./lib/bs/bytecode/index.byte`