https://github.com/bsansouci/bsb-native-example
https://github.com/bsansouci/bsb-native-example
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsansouci/bsb-native-example
- Owner: bsansouci
- Created: 2017-07-13T09:10:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T00:01:20.000Z (about 5 years ago)
- Last Synced: 2025-03-24T05:01:38.804Z (about 2 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this 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`