Instructions for macOS. Adapt for your OS if different.
Replace path-to
by your own directory paths.
-
Install python 3:
brew install python3
-
Clone
forgepush
from https://github.com/tmg-pub/forgepush -
Switch to the cloned forgepush directory:
cd path-to/forgepush
-
Create virtual environement for forgepush:
python3 -m venv venv
-
Install python 3 modules:
venv/bin/pip install pyyaml requests
-
Go to the addon repo folder:
cd path-to/crossrp
-
Build the addon:
path-to/forgepush/venv/bin/python3 path-to/forgepush/forgepush.py --publish_curseforge --curse_apitoken null
The built addon is under the
path-to/crossrp/.forgepush/CrossRP
folder. -
Create symlink to the built addon
cd path-to/World\ of\ Warcraft/_retail_/Interface/AddOns/CrossRP ln -s path-to/crossrp/.forgepush/CrossRP CrossRP
To build the addon again, just repeat steps 6 and 7.