Skip to content

Commit

Permalink
Merge pull request #55 from xpol/stds.rockspec
Browse files Browse the repository at this point in the history
add stds.rockspec for rockspec files.
  • Loading branch information
mpeterv committed Mar 11, 2016
2 parents 333d5fe + 7a771c1 commit 4d05d84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/luacheck/stds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ stds.ngx_lua = {
"pairs", "pcall", "print", "rawequal", "rawget", "rawset", "require", "select", "setfenv",
"setmetatable", "string", "table", "tonumber", "tostring", "type", "unpack", "xpcall"}

stds.rockspec = {
"rockspec_format", "package", "version", "description", "supported_platforms",
"dependencies", "external_dependencies", "source", "build"}

local min = {_G = true, package = true}
local std_sets = {}

Expand Down

0 comments on commit 4d05d84

Please sign in to comment.