Skip to content

Commit

Permalink
etc/rockspec/generate: remove exception for import.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
altexy committed Dec 8, 2012
1 parent fec3150 commit 2f3ba66
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions etc/rockspec/generate.lua
Expand Up @@ -59,15 +59,13 @@ build = {

for i = 1, #files do
local name = files[i]
if name ~= "lua-nucleo/import.lua" then -- Hack
io.stdout:write([[
io.stdout:write([[
[]] .. (
("%q"):format(
name:gsub("/", "."):gsub("\\", "."):gsub("%.lua$", "")
)
) .. [[] = ]] .. (("%q"):format(name)) .. [[;
("%q"):format(
name:gsub("/", "."):gsub("\\", "."):gsub("%.lua$", "")
)
) .. [[] = ]] .. (("%q"):format(name)) .. [[;
]])
end
end

io.stdout:write([[
Expand Down

0 comments on commit 2f3ba66

Please sign in to comment.