ATAddons/Makefile

29 lines
796 B
Makefile
Raw Normal View History

install:
cp -r ATMe/ $$WOW_ADDON_DIR
cp -r ATAutoReactivateGoliath/ $$WOW_ADDON_DIR
update:
cp -r $$WOW_ADDON_DIR/ATMe .
cp -r $$WOW_ADDON_DIR/ATAutoReactivateGoliath .
2021-03-09 23:05:56 -05:00
mirror:
git push --mirror git@github.com:atomaka/ATAddons.git
clean:
rm -f ATAutoReactivateGoliath.zip
archive: clean
zip -r ATAutoReactivateGoliath ATAutoReactivateGoliath
upload: archive
test $$WOW_GAME_VERSION
curl -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
-F metadata='{changelog: "Initial upload", gameVersions: [$$WOW_GAME_VERSION], releaseType: "release"}' \
-F file=@ATAutoReactivateGoliath.zip \
https://wow.curseforge.com/api/projects/$$CURSEFORGE_PROJECT_ID/upload-file
version:
@curl -s -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
https://wow.curseforge.com/api/game/versions | \
jq ".[-1] | .id"