38 Commits

Author SHA1 Message Date
mpeterv
805a1484a5 Refactor, start implementing --ignore-installed 2015-11-27 21:12:53 +03:00
mpeterv
2e5847d6e2 On a second thought, just drop Python 2.6 support 2015-11-26 20:24:08 +03:00
mpeterv
22a6460f89 Fix error on Python 2.6 2015-11-26 19:53:19 +03:00
mpeterv
c639190925 Fix syntax error on Python 2.6 2015-11-26 19:49:06 +03:00
mpeterv
3d8a8b50bd Fix some pep8 warnings 2015-11-26 15:12:15 +03:00
mpeterv
ec348d1c4f Use namedtuple for version info 2015-11-26 15:06:46 +03:00
mpeterv
746f1092a1 Add default git repo for PUC-Rio Lua
Allows doing stuff like `hererocks here -l @5.3.2-rc1` to get
unstable versions of Lua.
2015-11-26 14:25:33 +03:00
mpeterv
7f5f7314d1 Don't complile regexps 2015-11-26 14:22:56 +03:00
mpeterv
e1a80ea3e1 Don't use --branch when cloning if git is older than 1.7.10 2015-11-26 14:20:46 +03:00
mpeterv
975d41ec56 Replace appveyor.yml with .travis.yml
Also fix issue with LuaJIT 2.1 on Python 3
2015-11-23 20:27:44 +03:00
mpeterv
dea278fe72 Remove space cats 2015-11-23 19:21:56 +03:00
mpeterv
cbca13efc6 Do not fetch simple Lua versions if the build is cached 2015-11-23 19:20:20 +03:00
mpeterv
b35a54a26c Add --downloads and --builds options
--downloads sets caching location for downloads.
--builds enables caching of whole Lua/LuaJIT builds. Mainly useful on ci
platforms which support directory caching. Using different target
location invalidates cache.
2015-11-23 18:54:05 +03:00
mpeterv
7ac3fc2f91 Remove '-t' and '-c' shortcuts 2015-11-23 17:24:37 +03:00
mpeterv
00dd7f850b Access CLI args through a global variable 2015-11-23 17:00:45 +03:00
mpeterv
e86c2196a8 Reverse support for MinGW build of PUC-Rio Lua
Windows support isn't a priority right now.
2015-11-23 16:47:54 +03:00
Jakub Jirutka
ffa9226b2e Clone just the specified branch/tag (fixes #1) 2015-11-18 19:04:09 +01:00
mpeterv
b99bc44cd3 Fix unzip again 2015-10-27 13:49:03 +03:00
mpeterv
832107233f Fix unzip 2015-10-27 13:31:54 +03:00
mpeterv
796aa377d5 Fetch correct LuaRocks distribution on Windows 2015-10-27 12:39:03 +03:00
mpeterv
c33038a268 Fix MinGW build again 2015-10-27 11:41:53 +03:00
mpeterv
6462dc364f Use install.bat for LuaRocks on Windows 2015-10-26 23:15:33 +03:00
mpeterv
55dce4e12f Improve MinGW support
Build luac.exe statically.
Install lua5X.dll.
2015-10-26 23:04:23 +03:00
mpeterv
45cfbf47ca Fix path patching for Windows 2015-10-26 21:46:41 +03:00
mpeterv
741231af89 More interactive verbose calls 2015-10-26 15:27:50 +03:00
mpeterv
37e14a1abe Do not patch Makefile for PUC-Rio Lua 2015-10-26 15:22:17 +03:00
mpeterv
296ad46d06 Use proper names for output files on mingw 2015-10-26 15:19:00 +03:00
mpeterv
7ac6ec305d Install PUC-Rio Lua manually 2015-10-26 15:05:25 +03:00
mpeterv
128c069f7a Build PUC-Rio Lua manually
Also: add --verbose, remove --target.
2015-10-26 14:41:12 +03:00
mpeterv
0c09ade2d8 Fix cloning single commits 2015-10-26 13:01:28 +03:00
mpeterv
c735940fc3 Remove an unused variable 2015-10-25 13:27:59 +03:00
mpeterv
0361ea374a For Lua 5.1 look for modules locally first
Lua 5.1 and LuaJIT have "?.lua" as the first entry in package.path,
while Lua 5.2 and 5.3 have it as the last one. Respect this rule
when patching default paths in luaconf.h.
2015-10-25 13:25:28 +03:00
mpeterv
72bab48215 Use LuaJIT github mirror 2015-10-25 13:03:58 +03:00
mpeterv
aaacf18772 Do not copy .git subdirectory when installing from local sources 2015-09-24 18:29:36 +03:00
mpeterv
5f43faa7f3 Package for pip 2015-08-14 14:16:53 +03:00
mpeterv
05202d596f Use --force-config when configuring LuaRocks
Fixed tree in $HOME/.luarocks being visible from scripts installed
with LuaRocks.
2015-08-14 12:27:55 +03:00
mpeterv
0c3f3fb80e Nicer interface
Don't dump all command output unless there is an error, print nice
messages instead.
2015-08-12 18:50:10 +03:00
mpeterv
746aa43bf6 Initial commit 2015-08-12 15:18:43 +03:00