aboutsummaryrefslogtreecommitdiff
path: root/docs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(upload): add a dry-run flagThijs Schreijer2026-07-181-1/+5
|
* docs: Add documentation for the init command.Hugo Levy-Falk2026-07-162-0/+55
|
* docs: Fix LUA_LIBDIR handling in example MakefileTobiasz Laskowski2026-07-111-56/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See: #1257 On most platforms LUA_LIBDIR is empty, so you get: Warning: unmatched variable LUA_LIBDIR And the resulting empty -L flag in the example can cause issues like: ld: warning: search path '-lpthread' not found It's also not sufficient to pass the -L flag, you also have to provide the actual library to link. I've updated the example to only set LUA_LIBDIR for windows where it is used by default. However, as noted in it is possible to do: luarocks config link_lua_explicitly true It would be better to respect this setting rather than hard-coding windows only, but I'm not sure the best way to check that config in the rockspec, I wonder if anyone else has any suggestions? [docs] Use implicit rules in example makefile See: https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#index-C_002c-rule-to-compile https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#index-linking_002c-predefined-rule-for https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#index-CPPFLAGS https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#index-LDFLAGS [docs] Fix LUA_LIBDIR handling in makefile example The example setup given here gives this warning on most systems: ``` Warning: unmatched variable LUA_LIBDIR ``` Also, you get an empty `-L` flag, which one some compilers will eat the following flag, causing issues, e.g. ``` ld: warning: search path '-lpthread' not found ``` This is because most environments do not require explicit linking of LUALIB, so it LUA_LIBDIR not set. This patch fixes the sample by only setting `LUA_LIBDIR` when it is actually needed, i.e. on windows. [docs] Fix example makefile for windows On windows, LUALIB is set to e.g. `lua51.dll`, which is the full name and does not work with `-llua51.dll`. Passing the full path here allows it to be linked properly. Another option is `-l:$(LUALIB)` to specify the full file name, but some linkers do not support that syntax. [docs] Fix broken formatting due to unescaped $ [docs] Highlight makefile syntax [docs] Use consistent whitespace Fixes markdown warnings about hard tabs
* Fix typos discovered by codespellChristian Clauss2026-07-114-7/+7
|
* Remove extra chars in front of console commandscongusbongus2026-01-281-7/+7
| | | This allows copy pasting the commands easily
* docs(rockspec-format): `source.dir` can be omitted if inferrable from ↵Marc Jakobi2026-01-281-8/+8
| | | | archive content
* docs: Fix links in file_locations.mdDaniel Jour2025-11-171-2/+2
|
* docs: update changelog for LuaRocks 3.12.0Hisham Muhammad2025-06-053-609/+6
|
* feat: add build vars. for rockspecs with the dir. of its deps.Renato Maia2025-05-191-0/+8
| | | | | | | Rockspecs can access the directory of its dependencies using variables in the format 'foo_ROCKDIR' where 'foo' is the name of a dependency. This is used to be able to access files of the rock like 'conf', 'docs' and more.
* feat: add LUA_VERSION build variable for rockspecsRenato Maia2025-05-191-0/+1
|
* docs: ajust case of the programming language nameRenato Maia2025-05-191-7/+7
|
* docs: fix markdown rendering of luarocks.md (#1791)Medik2025-05-021-85/+50
|
* rockspec format: improve message for handling GitHub URLRichard Beckmann2025-03-171-1/+1
| | | Co-authored-by: Caleb Maclennan <caleb@alerque.com>
* rockspec format: indicate that scm URLs cannot start with http(s):// and ↵FractalU2025-03-171-6/+6
| | | | that git:// is being treated the same as git+https:// only for GitHub URLs
* docs: fix and optimize links in the documentation Richard Beckmann2025-03-1417-192/+191
|
* docs: improve installation instructions for unix (#1763)Richard Beckmann2025-03-091-19/+17
| | | | | | | * unix installation: improve lua and luarocks build instructions * unix installation: minor fixes * unix installation: minor improvement
* docs: update rockspec_format.mdHisham Muhammad2025-03-031-1/+1
|
* docs(server): add an example for running a luarocks serverHEADmasterThijs Schreijer2025-02-272-0/+39
|
* Fix markdown tables in windows install docsTobiasz Laskowski2025-02-241-40/+31
|
* docs: fix mingw URLHisham Muhammad2025-02-211-11/+11
|
* docs: some copyeditingHisham Muhammad2025-02-211-12/+13
|
* docs: update `upload` docs as per #1733Hisham Muhammad2025-02-211-3/+6
|
* docs: import Wiki docs into the main repoHisham Muhammad2025-02-2164-0/+4828