1.2.18 • Published 3 years ago
awtk-node-gen v1.2.18
awtk-node-gen
git clone --recurse-submodules https://github.com/bung87/awtk-node-gen
If you already cloned the project and forgot --recurse-submodules
git submodule update --init --recursive
brew install scons sdl2 node
build awtk static libraries
yarn awtk
build this node native module
yarn exec cmake-js --runtime napi compile
if CMakeLists.txt
contains add_compile_definitions(NAPI_VERSION=${napi_build_version})
use below instead
yarn prebuild-install --runtime napi
upload prebuilds
yarn prebuild --upload-all <github_token>