Skip to content

Commit

Permalink
Project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Apr 20, 2024
1 parent aaa7d66 commit 9c993ef
Show file tree
Hide file tree
Showing 12 changed files with 415 additions and 487 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Libs
desktop.ini
97 changes: 97 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "Lua 5.1",
"diagnostics.globals": [
"ALL",
"SOLO",
"BEST",
"TOTAL",
"DAMAGE",
"RATING",
"YES",
"NO",
"DEATHS",
"HONOR",
"FACTION",
"OKAY",
"SHOW_COMBAT_HEALING",
"AddOnSkins",
"ElvUI",
"REFlexFrame",
"REFlexFrameTab1",
"REFlexFrameTab2",
"REFlexFrameTab3",
"REFlexFrameTab4",
"REFlexFrameTab5",
"REFlexFrameTab6",
"CalendarFrame",
"EasyMenu",
"PVPMatchResults",
"StaticPopupDialogs",
"ReloadUI",
"REFlexFrame_StatsButton",
"REFlexFrame_ScoreHolder_RBG",
"REFlexFrame_ScoreHolder_HK1",
"REFlexFrame_ScoreHolder_KB1",
"REFlexFrame_ScoreHolder_Damage1",
"REFlexFrame_ScoreHolder_Healing1",
"REFlexFrame_ScoreHolder_Wins",
"REFlexFrame_ScoreHolder_Lose",
"REFlexFrame_ScoreHolder_HK2",
"REFlexFrame_ScoreHolder_HK3",
"REFlexFrame_ScoreHolder_KB2",
"REFlexFrame_ScoreHolder_KB3",
"REFlexFrame_ScoreHolder_Damage2",
"REFlexFrame_ScoreHolder_Damage3",
"REFlexFrame_ScoreHolder_Healing2",
"REFlexFrame_ScoreHolder_Healing3",
"REFlexBGFrameText",
"REFlexStatsDropDown",
"CloseDropDownMenus",
"REFlexFrame_DumpButton",
"REFlexFrame_CloseButton",
"REFlexFrame_HKBar_I",
"REFlexFrame_Title",
"PanelTemplates_GetSelectedTab",
"PanelTemplates_SetTab",
"PanelTemplates_SetNumTabs",
"StaticPopup_Show",
"IsPlayerAtEffectiveMaxLevel",
"UIParentLoadAddOn",
"UISpecialFrames",
"GUILD_PLAYSTYLE_CASUAL",
"PVP_TAB_CONQUEST",
"REFlexFrame_ScoreHolder",
"HONOR_TODAY",
"HONOR_YESTERDAY",
"GUILD_CHALLENGES_THIS_WEEK",
"CUSTOM",
"SlashCmdList",
"DAILY",
"BATTLEGROUND",
"ITEM_QUALITY4_DESC",
"ARENA_CASUAL",
"LFG_CATEGORY_BATTLEFIELD",
"PVP_CONQUEST",
"RATED_PVP_WEEKLY_CHEST",
"PVP_RATED_SOLO_SHUFFLE",
"Settings",
"StaticPopup_Hide",
"REFlexFrame_HKBar_Text",
"ARENA_2V2",
"ARENA_3V3",
"BATTLEGROUND_10V10",
"AUCTION_DURATION",
"WIN",
"ARENA",
"TEAM",
"ENEMY",
"REFlexFrame_HKBar"
],
"diagnostics.disable": [
"undefined-field",
"missing-parameter",
"redundant-parameter",
"param-type-mismatch"
]
}
28 changes: 16 additions & 12 deletions .pkgmeta
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
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/LibScrollingTable: https://github.com/ddumont/lib-st.git
Libs/LibQTip-1.0: https://repos.wowace.com/wow/libqtip-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/LibBabble-Race-3.0: https://repos.wowace.com/wow/libbabble-race-3-0/trunk
Libs/LibTextDump-1.0: https://repos.wowace.com/wow/libtextdump-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/LibStub: https://repos.curseforge.com/wow/libstub/trunk
Libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0
Libs/LibScrollingTable: https://github.com/ddumont/lib-st
Libs/LibQTip-1.0: https://repos.curseforge.com/wow/wow/libqtip-1-0
Libs/LibDataBroker-1.1: https://repos.curseforge.com/wow/wow/libdatabroker-1-1
Libs/LibDBIcon-1.0: https://repos.curseforge.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0
Libs/LibBabble-Race-3.0: https://repos.curseforge.com/wow/wow/libbabble-race-3-0/trunk
Libs/LibTextDump-1.0: https://repos.curseforge.com/wow/wow/libtextdump-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/TaintLess:
url: https://www.townlong-yak.com/addons.git/taintless
commit: default

ignore:
- README.md
- Libs/LibStub/tests
36 changes: 18 additions & 18 deletions ElvUI.lua
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
local _G = _G
local unpack = _G.unpack
local unpack = unpack

if not _G.AddOnSkins then return end
local AS = unpack(_G.AddOnSkins)
if not AddOnSkins then return end
local AS = unpack(AddOnSkins)
if not AS:CheckAddOn("REFlex") then return end

function AS:REFlex()
AS:SkinFrame(_G.REFlexFrame)
AS:SkinFrame(_G.REFlex.TableBG.frame, nil, true)
AS:StripTextures(_G[_G.REFlex.TableBG.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[_G.REFlex.TableBG.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinFrame(_G.REFlex.TableArena.frame, nil, true)
AS:StripTextures(_G[_G.REFlex.TableArena.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[_G.REFlex.TableArena.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinButton(_G.REFlexFrame_DumpButton)
AS:SkinButton(_G.REFlexFrame_StatsButton)
AS:SkinCloseButton(_G.REFlexFrame_CloseButton)
AS:StripTextures(_G.REFlexFrame_HKBar)
AS:SkinStatusBar(_G.REFlexFrame_HKBar_I)
for i = 1, _G.REFlexFrame.numTabs do
AS:SkinFrame(REFlexFrame)
AS:SkinFrame(REFlex.TableBG.frame, nil, true)
AS:StripTextures(_G[REFlex.TableBG.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[REFlex.TableBG.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinFrame(REFlex.TableArena.frame, nil, true)
AS:StripTextures(_G[REFlex.TableArena.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[REFlex.TableArena.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinButton(REFlexFrame_DumpButton)
AS:SkinButton(REFlexFrame_StatsButton)
AS:SkinCloseButton(REFlexFrame_CloseButton)
AS:StripTextures(REFlexFrame_HKBar)
AS:SkinStatusBar(REFlexFrame_HKBar_I)
for i = 1, REFlexFrame.numTabs do
AS:SkinTab(_G["REFlexFrameTab"..i])
end
_G.REFlexFrame_Title:SetPoint("TOP", 0, -10)
_G.REFlexFrame_HKBar:SetPoint("BOTTOM", 0, 18)
REFlexFrame_Title:SetPoint("TOP", 0, -10)
REFlexFrame_HKBar:SetPoint("BOTTOM", 0, 18)
end

AS:RegisterSkin("REFlex", AS.REFlex)
1 change: 1 addition & 0 deletions Embeds.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">

<Include file="Libs\TaintLess\TaintLess.xml"/>
<Script file="Libs\LibStub\LibStub.lua"/>
<Script file="Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"/>
<Script file="Libs\LibScrollingTable\Core.lua"/>
Expand Down
Loading

0 comments on commit 9c993ef

Please sign in to comment.