Skip to content

Commit

Permalink
removed changelog, added luacheckrc
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Sep 13, 2019
1 parent 690629d commit c2b2f83
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 31 deletions.
89 changes: 89 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
std = "lua51"
max_line_length = false
exclude_files = {
"**/Libs",
}
only = {
"011", -- syntax
"1", -- globals
}
ignore = {
"11/SLASH_.*", -- slash handlers
"1/[A-Z][A-Z][A-Z0-9_]+", -- three letter+ constants
}
globals = {
-- wow std api
"abs",
"acos",
"asin",
"atan",
"atan2",
"bit",
"ceil",
"cos",
"date",
"debuglocals",
"debugprofilestart",
"debugprofilestop",
"debugstack",
"deg",
"difftime",
"exp",
"fastrandom",
"floor",
"forceinsecure",
"foreach",
"foreachi",
"format",
"frexp",
"geterrorhandler",
"getn",
"gmatch",
"gsub",
"hooksecurefunc",
"issecure",
"issecurevariable",
"ldexp",
"log",
"log10",
"max",
"min",
"mod",
"rad",
"random",
"scrub",
"securecall",
"seterrorhandler",
"sin",
"sort",
"sqrt",
"strbyte",
"strchar",
"strcmputf8i",
"strconcat",
"strfind",
"string.join",
"strjoin",
"strlen",
"strlenutf8",
"strlower",
"strmatch",
"strrep",
"strrev",
"strsplit",
"strsub",
"strtrim",
"strupper",
"table.wipe",
"tan",
"time",
"tinsert",
"tremove",
"wipe",

-- everything else

"oUF",
"LibStub",
"UnitAura",
}
5 changes: 0 additions & 5 deletions .pkgmeta
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ package-as: oUF_ClassicAuraDurations

enable-nolib-creation: no

manual-changelog:
filename: CHANGELOG.md
markup-type: markdown

externals:
Libs/LibStub: svn://svn.wowace.com/wow/libstub/mainline/tags/1.0
Libs/CallbackHandler-1.0: https://repos.wowace.com/wow/ace3/trunk/CallbackHandler-1.0
Expand All @@ -14,5 +10,4 @@ externals:
tag: master

ignore:
- CHANGELOG.md
- README.md
29 changes: 27 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
language: minimal

script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash

addons:
apt:
packages:
- luarocks

install: luarocks install --local luacheck

script: /home/travis/.luarocks/bin/luacheck . --no-color -qo "011"

after_failure:
- curl -s https://raw.githubusercontent.com/d87/TravisTelegramNotification/master/telegram_notify.sh | bash

deploy:
# releases
- provider: script
script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash
on:
tags: true
condition: $TRAVIS_TAG =~ ^v?([0-9]+\.[0-9]+\.[0-9]+)$

# alpha/betas, skip cf and wowi
- provider: script
script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -p 0 -w 0
on:
tags: true
condition: $TRAVIS_TAG =~ ^v?([0-9]+\.[0-9]+\.[0-9]+)-([A-Za-z]+)([0-9]*)$

branches:
only:
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
Expand Down
24 changes: 0 additions & 24 deletions CHANGELOG.md

This file was deleted.

0 comments on commit c2b2f83

Please sign in to comment.