GitXplorerGitXplorer
l

wow-addon-template

public
6 stars
1 forks
0 issues

Commits

List of commits on branch main.
Unverified
d66bba813b8f2b61bb6884eb5f32a311f1cc9220

Update readme

llayday committed 4 years ago
Unverified
c5fcd711a780f06f3731f97ac4ddc6dcb8627d7e

Add Luacheck workflow

llayday committed 4 years ago
Unverified
687ca8b4914d50c1eb78d30d6114aa8fa353f3e0

Explain how publishing works

llayday committed 4 years ago
Unverified
d42faf582621d89592a46327778b7c835cae851d

Expand readme

llayday committed 4 years ago
Unverified
24930a51ff084455455d96ce2380e32ae324b51b

Fix typo

llayday committed 4 years ago
Unverified
2fa67d25ef934b7f15b5a246ff9c07073a7cf050

Adjust workflow

llayday committed 4 years ago

README

The README file for this repository.

wow-addon-template

A World of Warcraft add-on template to set newbies and seasoned developers alike on the right track. wow-addon-template contains a sample add-on, a GitHub workflow which automates releasing your add-on on GitHub, CurseForge and WoWInterface, build instructions for packager, the de facto add-on build tool, basic Luacheck configuration and an accompanying workflow, and instructions for keeping a changelog.

Development

You must use packager to build your add-on. packager requires a POSIX environment.

To build your add-on:

$ release.sh -m pkgmeta.yaml -d -z

To symlink your add-on into AddOns during development:

$ ln -s $PWD/.release/Addon <path to your WoW installation>/_retail_/Interface/AddOns/Addon

Publishing

Pushing a Git tag will trigger the release workflow, which will package and upload your add-on to GitHub, CurseForge and WoWInterface. For the last two, you will need to generate an API token for uploading. You can generate a CurseForge API token from https://authors.curseforge.com/account/api-tokens, and a WoWInterface token from https://www.wowinterface.com/downloads/filecpl.php?action=apitokens. Add the tokens as separate secrets in the settings of your repo with a name value of CF_API_KEY and WOWI_API_TOKEN, respectively.

Community

You can ask questions on the WoW UI Dev Discord server. You will also find an up-to-date list of development resources there.

Credits

This template draws inspiration from the WeakAuras and Masque repos.