If you get stuck, message me on discord @samualn
.
- Git
- Windows: Make sure you install Git Bash with it
- Clone this repository
- PNPM
- Optional:
direnv
- Open this cloned repository in a terminal
- Run
pnpm install
- Modify your
PATH
- If you have
direnv
, rundirenv allow
if you havn't already - Otherwise run
export PATH=$PWD/node_modules/.bin:$PATH
- If you have
- Run
scripts/package.sh
to compile everything and build the NPM package indist
- Open this cloned repository in Git Bash
- Run
pnpm install
- Run
export PATH=$PWD/node_modules/.bin:$PATH
- Run
scripts/package.sh
to compile everything and build the NPM package indist
Run ./rollup.config.js
to only recompile.
You can run the devepment version of HSM by running node dist/bin/hsm.js
. You can pass it arguments just like you normally would e.g. node dist/bin/hsm.js --version
.
In the other project (e.g. testing with Hackmud Scripting Environment) run pnpm add ~/path/to/hackmud-script-manager/dist
.