Skip to content

Commit

Permalink
Remove commented module() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed May 31, 2016
1 parent 2cfc2c2 commit d524b51
Show file tree
Hide file tree
Showing 51 changed files with 0 additions and 51 deletions.
1 change: 0 additions & 1 deletion src/luarocks/add.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the luarocks-admin "add" command.
-- Adds a rock or rockspec to a rocks server.
--module("luarocks.add", package.seeall)
local add = {}
package.loaded["luarocks.add"] = add

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/admin_remove.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the luarocks-admin "remove" command.
-- Removes a rock or rockspec from a rocks server.
--module("luarocks.admin_remove", package.seeall)
local admin_remove = {}
package.loaded["luarocks.admin_remove"] = admin_remove

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/build.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "build" command.
-- Builds a rock, compiling its C parts if any.
--module("luarocks.build", package.seeall)
local build = {}
package.loaded["luarocks.build"] = build

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/build/builtin.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- A builtin build system: back-end to provide a portable way of building C-based Lua modules.
--module("luarocks.build.builtin", package.seeall)
local builtin = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/build/cmake.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Build back-end for CMake-based modules.
--module("luarocks.build.cmake", package.seeall)
local cmake = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/build/command.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Build back-end for raw listing of commands in rockspec files.
--module("luarocks.build.command", package.seeall)
local command = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/build/make.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Build back-end for using Makefile-based packages.
--module("luarocks.build.make", package.seeall)
local make = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/cache.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module handling the LuaRocks local cache.
-- Adds a rock or rockspec to a rocks server.
--module("luarocks.cache", package.seeall)
local cache = {}
package.loaded["luarocks.cache"] = cache

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/command_line.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Functions for command-line scripts.
--module("luarocks.command_line", package.seeall)
local command_line = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/deps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
-- comparison criteria is the source code of this module, but the
-- test/test_deps.lua file included with LuaRocks provides some
-- insights on what these criteria are.
--module("luarocks.deps", package.seeall)
local deps = {}
package.loaded["luarocks.deps"] = deps

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/dir.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Generic utilities for handling pathnames.
--module("luarocks.dir", package.seeall)
local dir = {}
package.loaded["luarocks.dir"] = dir

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/doc.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "doc" command.
-- Shows documentation for an installed rock.
--module("luarocks.doc", package.seeall)
local doc = {}
package.loaded["luarocks.doc"] = doc

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/download.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the luarocks "download" command.
-- Download a rock from the repository.
--module("luarocks.download", package.seeall)
local download = {}
package.loaded["luarocks.download"] = download

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Functions related to fetching and loading local and remote files.
--module("luarocks.fetch", package.seeall)
local fetch = {}
package.loaded["luarocks.fetch"] = fetch

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/cvs.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from CVS.
--module("luarocks.fetch.cvs", package.seeall)
local cvs = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/git.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from GIT.
--module("luarocks.fetch.git", package.seeall)
local git = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/git_file.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from local Git repositories.
--module("luarocks.fetch.git_file", package.seeall)
local git_file = {}

local git = require("luarocks.fetch.git")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/git_http.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
-- source = { url = "git+http://example.com/foo.git" }
-- Prefer using the normal git:// fetch mode as it is more widely
-- available in older versions of LuaRocks.
--module("luarocks.fetch.git_http", package.seeall)
local git_http = {}

local git = require("luarocks.fetch.git")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/hg.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from HG.
--module("luarocks.fetch.hg", package.seeall)
local hg = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/sscm.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from Surround SCM Server
--module("luarocks.fetch.sscm", package.seeall)
local sscm = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/svn.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Fetch back-end for retrieving sources from Subversion.
--module("luarocks.fetch.svn", package.seeall)
local svn = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

local pairs = pairs

--module("luarocks.fs", package.seeall)
local fs = {}
package.loaded["luarocks.fs"] = fs

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fs/unix.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Unix implementation of filesystem and platform abstractions.
--module("luarocks.fs.unix", package.seeall)
local unix = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fs/unix/tools.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- fs operations implemented with third-party tools for Unix platform abstractions.
--module("luarocks.fs.unix.tools", package.seeall)
local tools = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fs/win32.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
--- Windows implementation of filesystem and platform abstractions.
-- Download http://unxutils.sourceforge.net/ for Windows GNU utilities
-- used by this module.
--module("luarocks.fs.win32", package.seeall)
local win32 = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fs/win32/tools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
--- fs operations implemented with third-party tools for Windows platform abstractions.
-- Download http://unxutils.sourceforge.net/ for Windows GNU utilities
-- used by this module.
--module("luarocks.fs.win32.tools", package.seeall)
local tools = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/help.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
-- uses a global table called "commands" to find commands
-- to show help for; each command should be represented by a
-- table containing "help" and "help_summary" fields.
--module("luarocks.help", package.seeall)
local help = {}

local util = require("luarocks.util")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/index.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Module which builds the index.html page to be used in rocks servers.
--module("luarocks.index", package.seeall)
local index = {}
package.loaded["luarocks.index"] = index

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/install.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
--- Module implementing the LuaRocks "install" command.
-- Installs binary rocks.
--module("luarocks.install", package.seeall)
local install = {}
package.loaded["luarocks.install"] = install

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/lint.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "lint" command.
-- Utility function that checks syntax of the rockspec.
--module("luarocks.lint", package.seeall)
local lint = {}
package.loaded["luarocks.lint"] = lint

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/list.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "list" command.
-- Lists currently installed rocks.
--module("luarocks.list", package.seeall)
local list = {}
package.loaded["luarocks.list"] = list

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/make.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
-- Builds sources in the current directory, but unlike "build",
-- it does not fetch sources, etc., assuming everything is
-- available in the current directory.
--module("luarocks.make", package.seeall)
local make = {}
package.loaded["luarocks.make"] = make

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/make_manifest.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the luarocks-admin "make_manifest" command.
-- Compile a manifest file for a repository.
--module("luarocks.make_manifest", package.seeall)
local make_manifest = {}
package.loaded["luarocks.make_manifest"] = make_manifest

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/manif.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
-- Manifest files describe the contents of a LuaRocks tree or server.
-- They are loaded into manifest tables, which are then used for
-- performing searches, matching dependencies, etc.
--module("luarocks.manif", package.seeall)
local manif = {}
package.loaded["luarocks.manif"] = manif

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/manif_core.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Core functions for querying manifest files.
-- This module requires no specific 'fs' functionality.
--module("luarocks.manif_core", package.seeall)
local manif_core = {}
package.loaded["luarocks.manif_core"] = manif_core

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/pack.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "pack" command.
-- Creates a rock, packing sources or binaries.
--module("luarocks.pack", package.seeall)
local pack = {}
package.loaded["luarocks.pack"] = pack

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
--- LuaRocks-specific path handling functions.
-- All paths are configured in this module, making it a single
-- point where the layout of the local installation is defined in LuaRocks.
--module("luarocks.path", package.seeall)
local path = {}

local dir = require("luarocks.dir")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/persist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
-- saving tables into files.
-- Implemented separately to avoid interdependencies,
-- as it is used in the bootstrapping stage of the cfg module.
--module("luarocks.persist", package.seeall)
local persist = {}
package.loaded["luarocks.persist"] = persist

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/purge.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "purge" command.
-- Remove all rocks from a given tree.
--module("luarocks.purge", package.seeall)
local purge = {}
package.loaded["luarocks.purge"] = purge

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/refresh_cache.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Module implementing the luarocks-admin "refresh_cache" command.
--module("luarocks.refresh_cache", package.seeall)
local refresh_cache = {}
package.loaded["luarocks.refresh_cache"] = refresh_cache

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/remove.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "remove" command.
-- Uninstalls rocks.
--module("luarocks.remove", package.seeall)
local remove = {}
package.loaded["luarocks.remove"] = remove

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/repos.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Functions for managing the repository on disk.
--module("luarocks.repos", package.seeall)
local repos = {}
package.loaded["luarocks.repos"] = repos

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/search.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "search" command.
-- Queries LuaRocks servers.
--module("luarocks.search", package.seeall)
local search = {}
package.loaded["luarocks.search"] = search

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/show.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
--- Module implementing the LuaRocks "show" command.
-- Shows information about an installed rock.
--module("luarocks.show", package.seeall)
local show = {}
package.loaded["luarocks.show"] = show

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/tools/patch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
-- Project home: http://code.google.com/p/python-patch/ .
-- Version 0.1

--module("luarocks.tools.patch", package.seeall)
local patch = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/tools/tar.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- A pure-Lua implementation of untar (unpacking .tar archives)
--module("luarocks.tools.tar", package.seeall)
local tar = {}

local fs = require("luarocks.fs")
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/type_check.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
--- Type-checking functions.
-- Functions and definitions for doing a basic lint check on files
-- loaded by LuaRocks.
--module("luarocks.type_check", package.seeall)
local type_check = {}
package.loaded["luarocks.type_check"] = type_check

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/unpack.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

--- Module implementing the LuaRocks "unpack" command.
-- Unpack the contents of a rock.
--module("luarocks.unpack", package.seeall)
local unpack = {}
package.loaded["luarocks.unpack"] = unpack

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
-- inside specific functions) to avoid interdependencies,
-- as this is used in the bootstrapping stage of luarocks.cfg.

--module("luarocks.util", package.seeall)
local util = {}

local unpack = unpack or table.unpack
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/validate.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

--- Sandboxed test of build/install of all packages in a repository (unfinished and disabled).
--module("luarocks.validate", package.seeall)
local validate = {}
package.loaded["luarocks.validate"] = validate

Expand Down
1 change: 0 additions & 1 deletion src/luarocks/write_rockspec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

--module("luarocks.write_rockspec", package.seeall)
local write_rockspec = {}
package.loaded["luarocks.write_rockspec"] = write_rockspec

Expand Down

0 comments on commit d524b51

Please sign in to comment.