aboutsummaryrefslogtreecommitdiff
path: root/makedist (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-12oops, missed this one.Hisham Muhammad1-1/+1
2012-07-12Missing local (thanks lua-inspect!)Hisham Muhammad1-1/+1
2012-07-12The persist module is not rockspec-specificHisham Muhammad1-3/+3
2012-07-09Fix mode string in call to io.openNorman Clarke1-1/+1
On 5.2, Luarocks fails when installing some rocks with the following error: invalid mode 'wb+' (should match '[rwa]%+?b?') This does not happen on 5.1; I suspect 5.2 may be stricter about validating the mode string. The docs for 5.1 suggest the 'b' must always come at the end: > The mode string can also have a 'b' at the end (http://www.lua.org/manual/5.1/manual.html#pdf-io.open)
2012-07-06Adjust Git clone command according to Git version.Norman Clarke1-6/+35
Git 1.7.10 and higher allows a branch or a tag to be passed as an argument to `git clone` along with `--depth=1`, which lets us check out the exact code needed to pack a rockspec without the entire repository's history. This offers a significant performance improvement for large repositories. For Git 1.7.9 and earlier, Luarocks will clone the repository without the branch argument in order to support both branches and tags. This is possible in part because prior to Git 1.7.10, git will clone sufficient repository history to check out any tag, even when the --depth option is passed. After cloning, Luarocks will then perform a `git checkout` prior to packing a rockspec. This is slower but lets Luarocks work consistently on more versions of Git. Resolves #73 Resolves #78 This change was implemented by: * Juan Ramírez (https://github.com/ichramm) * Ignacio Burgueño (https://github.com/ignacio) * Norman Clarke (https://github.com/norman)
2012-07-06Bump version to 2.0.9Ignacio Burgueño1-2/+1
2012-07-03remove .svn directories so they don't show up in .rock files,Hisham Muhammad1-0/+7
the same way we handle .git directories.
2012-06-28Bump version to 2.0.9Ignacio Burgueño1-2/+1
2012-06-27Refactor io into separate functionNorman Clarke1-9/+17
Avoid writing the entire spec into a string in save_from_table when we can just write it directly to a file handle.
2012-06-26force path to ensure the local environment does not mess with 'bootstrap'Hisham Muhammad1-1/+1
2012-06-22Added save_from_table_to_string to persist moduleNorman Clarke1-5/+21
2012-06-19Pass -rpath to linker for external dependencies.Robert G. Jakabosky1-0/+1
This is important for libraries that are not in the standard system library paths.
2012-06-08add check to avoid incorrect program_version, as happened for 2.0.9 :(Hisham Muhammad1-0/+6
2012-05-24Do not lose error message information on 'unpack'.Hisham Muhammad2-3/+3
2012-05-23Makefile: fix install targets for parallel Make.Reuben Thomas1-5/+5
2012-05-23Add -f to some more rm commands which should never fail.Reuben Thomas1-3/+3
The clean target can be run even if the relevant files have not been created, so the rm shouldn't fail.
2012-05-20Add new file to MakefileHisham Muhammad1-1/+1
2012-05-20Add "new_version", a new feature.Hisham Muhammad2-0/+142
2012-05-20Refactor the download operation so it can be used by other modules.Hisham Muhammad1-34/+38
2012-05-20Add support for a priority table when writing files.Hisham Muhammad2-24/+79
2012-05-20Fix stat flag used by FreeBSD. Closes #72.Hisham Muhammad1-4/+4
2012-05-15Oops, fooled by the precedence rules. This should fix the fix for #52.Hisham Muhammad1-1/+1
2012-05-14git checkout is not needed anymoreIgnacio Burgueño1-7/+0
2012-05-11Simplify --branchIgnacio Burgueño1-2/+1
2012-05-11Clone using --branch flag when needed.Ignacio Burgueño1-2/+3
2012-05-11Ensures that branches are properly fetched if neededIgnacio Burgueño1-0/+2
2012-05-07Add --nodeps flag. Closes #67.Hisham Muhammad4-23/+36
2012-05-07Make URLs in description field clickable in index.htmlHisham Muhammad1-1/+4
2012-05-07preserve error message, suggested by Themroc@githubHisham Muhammad1-1/+1
2012-05-07avoid accepting directories, suggested by Themroc@githubHisham Muhammad1-1/+1
2012-05-07compatibility fix suggested by Themroc@githubHisham Muhammad1-1/+1
2012-04-24Fix for situation where we have lzlib but not lfsHisham Muhammad1-2/+2
2012-04-24Make sure configuration files are reported correctly in help screen.Hisham Muhammad1-3/+3
2012-04-13restore file mode when cleaning upHisham Muhammad1-0/+1
2012-04-13changes string.gfind for string.gmatchIgnacio Burgueño1-1/+1
2012-03-26Improve check for permissions, and use standardized check in 'remove' ↵Hisham Muhammad2-9/+21
command as well.
2012-03-23Improve configuration message in LuaRocks helpHisham Muhammad2-6/+22
2012-03-19Make sure permissions are retained, now that the file is rewritten (for ↵Hisham Muhammad1-0/+1
compatibility with implementations of sed that don't support -i)
2012-03-10make sure rockspec is consistent when running makedistHisham Muhammad1-0/+6
2012-03-10avoid error when using make -jHisham Muhammad1-4/+4
2012-03-10fix the generation of the #! headersHisham Muhammad1-1/+1
2012-03-09Further steps for Lua 5.2 supportHisham Muhammad8-60/+123
2012-03-03Add support for the "solaris" platformMark Pulford1-0/+11
2012-03-03Fix build on platforms without the "sed -i" optionMark Pulford1-1/+2
2012-03-01this shouldn't be a globalHisham Muhammad1-1/+1
2012-02-29fix version in included rockspecv2.0.8Hisham Muhammad1-1/+1
2012-02-28Catch error properly. Closes #63.Hisham Muhammad1-0/+3
2012-02-28Fix cmake backend.Hisham Muhammad1-3/+3
2012-02-22Simplify detection of binary files for determining arch suffix of packed ↵Hisham Muhammad1-22/+8
rocks. Closes #61.
2012-02-20Dropped prefix assignments to LUA_INTERPRETER and added luajit.Daniel Klein1-6/+15
Also, combed source to see if interpreter var was used elsewhere, and it appears that it's only used in conjunction with the path, which is enough.