git clone
yarn run install
yarn run check-tools # You may need sudo here
The i18n dictionary is included in the repo. To update it with the latest client, follow the following steps on a macOS system.
To build with live, where <data dir>
is an arbitrary temporary directory for the output:
yarn run extract-data <data dir>
To build with PTR:
PTR=true yarn run extract-data <data dir>
You can also extract the mod before extracting, which saves time for multiple extracts:
dotnet heroes-data extract <client dir> -o <mod base>
MOD=<mod dir> yarn run extract-data <data dir>
yarn run build-i18n <data dir>
And transform
will have the updated i18n file.
yarn run start-web
yarn run deploy-web
yarn test