From f8d5f81df2dc88d86a5ea53fd91b0ad34bc4e18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sat, 20 Apr 2024 15:12:49 +0200 Subject: [PATCH] Project cleanup --- .github/workflows/release.yml | 5 +- .gitignore | 1 - .luarc.json | 21 +++++ .pkgmeta | 38 ++++---- Embeds.xml | 1 + REKeys.lua | 103 +++++++++++---------- REKeys.toc | 1 - TaintLess.xml | 167 ---------------------------------- 8 files changed, 95 insertions(+), 242 deletions(-) create mode 100644 .luarc.json delete mode 100644 TaintLess.xml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af4141e..3d23174 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,19 +3,18 @@ name: Release on: push: tags: - - '**' + - "*" jobs: release: runs-on: ubuntu-latest env: - CF_API_KEY: ${{ secrets.CF_API_KEY }} WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} steps: - name: Clone project - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Package and release diff --git a/.gitignore b/.gitignore index 9af6263..43f8577 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ Libs/* !Libs/LibDeflate -desktop.ini diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..19f9b3d --- /dev/null +++ b/.luarc.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", + "runtime.version": "Lua 5.1", + "diagnostics.globals": [ + "BAG_FILTER_TITLE_SORTING", + "CALENDAR_EVENT_NAME", + "RATING", + "CHALLENGES", + "RaiderIO", + "ElvUI", + "GameTooltipHeaderText", + "Settings", + "WeeklyRewardsFrame", + "REKeysFrame" + ], + "diagnostics.disable": [ + "undefined-field", + "param-type-mismatch", + "redundant-parameter" + ] +} \ No newline at end of file diff --git a/.pkgmeta b/.pkgmeta index b700bcf..6ea4905 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -1,21 +1,23 @@ -enable-nolib-creation: no - externals: - Libs/LibStub: https://repos.wowace.com/wow/ace3/trunk/LibStub - Libs/CallbackHandler-1.0: https://repos.wowace.com/wow/ace3/trunk/CallbackHandler-1.0 - Libs/LibDataBroker-1.1: https://repos.wowace.com/wow/libdatabroker-1-1 - Libs/LibDBIcon-1.0: https://repos.wowace.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0 - Libs/LibQTip-1.0: https://repos.wowace.com/wow/libqtip-1-0 - Libs/AceGUI-3.0: https://repos.wowace.com/wow/ace3/trunk/AceGUI-3.0 - Libs/AceConfigDialog-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0/AceConfigDialog-3.0 - Libs/AceConfigRegistry-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0/AceConfigRegistry-3.0 - Libs/AceLocale-3.0: https://repos.wowace.com/wow/ace3/trunk/AceLocale-3.0 - Libs/AceEvent-3.0: https://repos.wowace.com/wow/ace3/trunk/AceEvent-3.0 - Libs/AceTimer-3.0: https://repos.wowace.com/wow/ace3/trunk/AceTimer-3.0 - Libs/AceBucket-3.0: https://repos.wowace.com/wow/ace3/trunk/AceBucket-3.0 - Libs/AceComm-3.0: https://repos.wowace.com/wow/ace3/trunk/AceComm-3.0 - Libs/AceSerializer-3.0: https://repos.wowace.com/wow/ace3/trunk/AceSerializer-3.0 - Libs/LibOpenRaid: https://github.com/Tercioo/Open-Raid-Library.git + Libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk + Libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0 + Libs/LibDataBroker-1.1: https://repos.curseforge.com/wow/libdatabroker-1-1 + Libs/LibDBIcon-1.0: https://repos.curseforge.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0 + Libs/LibQTip-1.0: https://repos.curseforge.com/wow/libqtip-1-0 + Libs/AceGUI-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceGUI-3.0 + Libs/AceConfigDialog-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceConfig-3.0/AceConfigDialog-3.0 + Libs/AceConfigRegistry-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceConfig-3.0/AceConfigRegistry-3.0 + Libs/AceLocale-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceLocale-3.0 + Libs/AceEvent-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceEvent-3.0 + Libs/AceTimer-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceTimer-3.0 + Libs/AceBucket-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceBucket-3.0 + Libs/AceComm-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceComm-3.0 + Libs/AceSerializer-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceSerializer-3.0 + Libs/LibOpenRaid: https://github.com/Tercioo/Open-Raid-Library + Libs/TaintLess: + url: https://www.townlong-yak.com/addons.git/taintless + commit: default ignore: - - README.md \ No newline at end of file + - README.md + - Libs/LibStub/tests \ No newline at end of file diff --git a/Embeds.xml b/Embeds.xml index 0bb0ecd..2b9a2b2 100644 --- a/Embeds.xml +++ b/Embeds.xml @@ -1,5 +1,6 @@ + \ No newline at end of file