# Install MacOSX<version>.sdk and clang
xcode-select --install
# nodejs and cmake-js tools
brew install nodejs pnpm cmake ninja
# also compatible with npm/yarn
pnpm install
# this will automatically build the addon in Release mode
pnpm install
# you can also build in Release mode using this task
pnpm build
# build in Debug mode
pnpm build:dev
Use "mdac": "git+ssh://git@github.com:fs4k/synth-mdac.git"
to use this package as a dependency.
It will be automatically built on installing.
Any issue with webpack or electron should be due to the addon binary and/or resolving paths
The PLOG_LEVEL
level controls the logging severity of the addon. It is info
by default.
# all the available levels
# it is case insensitive
# only the first letter is significant (you can skip the rest)
export PLOG_LEVEL=verbose
export PLOG_LEVEL=debug
export PLOG_LEVEL=info # default
export PLOG_LEVEL=warning
export PLOG_LEVEL=error
export PLOG_LEVEL=fatal
Are in the tests folder
pnpm test:rms
pnpm test:electron
pnpm test:cmake