Skip to content

Commit

Permalink
bump version and releases for multiple game version includes Wrath cl…
Browse files Browse the repository at this point in the history
…assic (#12)

* rename pkgmeta.yml to .pkgmeta, setup CI packager
* luacheck
* update desc
  • Loading branch information
tomill authored Oct 23, 2022
1 parent 982c156 commit 669e99e
Show file tree
Hide file tree
Showing 51 changed files with 245 additions and 12,353 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Package and release
on:
push:
tags:
- '**'

jobs:
release:
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install and run Luacheck
uses: nebularg/actions-luacheck@v1
with:
args: "--no-color -q"
annotate: warning

- name: Package and release
uses: BigWigsMods/packager@v2
with:
args: -S
182 changes: 182 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
std = "lua51"
max_line_length = false

ignore = {
"212", -- Unused argument
"213", -- Unused loop variable
"214", -- unused hint
}

globals = {
"_G",
"LibStub",
"SlashCmdList",
"ChatFrame_AddMessageEventFilter",
"DEFAULT_CHAT_FRAME",
"SLASH_ROMAJI2KANA1",
"SLASH_ROMAJI2KANA2",
"ROMAJI2KANA_STOPWORDS",

"abs",
"acos",
"asin",
"assert",
"atan",
"atan2",
"bit.arshift",
"bit.band",
"bit.bnot",
"bit.bor",
"bit.bxor",
"bit.lshift",
"bit.mod",
"bit.rshift",
"ceil",
"collectgarbage",
"coroutine.create",
"coroutine.resume",
"coroutine.running",
"coroutine.status",
"coroutine.wrap",
"coroutine.yield",
"cos",
"date",
"debugbreak",
"debugdump",
"debuginfo",
"debugload",
"debuglocals",
"debugprint",
"debugprofilestart",
"debugprofilestop",
"debugstack",
"debugtimestamp",
"deg",
"difftime",
"error",
"exp",
"fastrandom",
"floor",
"forceinsecure",
"foreach",
"foreachi",
"format",
"frexp",
"gcinfo",
"geterrorhandler",
"getfenv",
"getmetatable",
"getn",
"gmatch",
"gsub",
"hooksecurefunc",
"ipars",
"issecure",
"issecurevariable",
"ldexp",
"loadstring",
"log",
"log10",
"math.abs",
"math.acos",
"math.asin",
"math.atan",
"math.atan2",
"math.ceil",
"math.cos",
"math.cosh",
"math.deg",
"math.exp",
"math.floor",
"math.fmod",
"math.frexp",
"math.ldexp",
"math.log",
"math.log10",
"math.max",
"math.min",
"math.modf",
"math.pow",
"math.rad",
"math.random",
"math.sin",
"math.sinh",
"math.sqrt",
"math.tan",
"math.tanh",
"max",
"min",
"mod",
"newproxy",
"next",
"pairs",
"pcall",
"rad",
"random",
"rawequal",
"rawget",
"rawset",
"scrub",
"securecall",
"select",
"seterrorhandler",
"setfenv",
"setmetatable",
"sin",
"sort",
"sqrt",
"strbyte",
"strchar",
"strcmputf8i",
"strconcat",
"strfind",
"string.byte",
"string.char",
"string.find",
"string.format",
"string.gfind",
"string.gmatch",
"string.gsub",
"string.join",
"string.len",
"string.lower",
"string.match",
"string.rep",
"string.reverse",
"string.split",
"string.sub",
"string.trim",
"string.upper",
"strjoin",
"strlen",
"strlenutf8",
"strlower",
"strmatch",
"strrep",
"strrev",
"strsplit",
"strsub",
"strtrim",
"strupper",
"table.concat",
"table.foreach",
"table.foreachi",
"table.getn",
"table.insert",
"table.maxn",
"table.remove",
"table.removemulti",
"table.setn",
"table.sort",
"table.wipe",
"tan",
"time",
"tinsert",
"tonumber",
"tostring",
"tremove",
"type",
"unpack",
"wipe",
"xpcall",
}
17 changes: 17 additions & 0 deletions .pkgmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package-as: Romaji2Kana

externals:
libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk
libs/CallbackHandler-1.0: https://repos.wowace.com/wow/callbackhandler/trunk/CallbackHandler-1.0
libs/AceAddon-3.0: https://repos.wowace.com/wow/ace3/trunk/AceAddon-3.0
libs/AceDB-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDB-3.0
libs/AceDBOptions-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDBOptions-3.0
libs/AceGUI-3.0: https://repos.wowace.com/wow/ace3/trunk/AceGUI-3.0
libs/AceConfig-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0

enable-nolib-creation: no
enable-toc-creation: yes

ignore:
- README.md
- images
Loading

0 comments on commit 669e99e

Please sign in to comment.