File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ New-Item -Path $installDir -ItemType "directory" -Name "include"
1717New-Item - Path $installDir - ItemType " directory" - Name " share"
1818New-Item - Path $installDir - ItemType " directory" - Name " jit"
1919
20- Invoke-WebRequest - Uri " https://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz" - OutFile " LuaJIT.tar.gz"
21- tar - xzvf " LuaJIT.tar.gz"
22- Remove-Item " LuaJIT.tar.gz"
23- Set-Location " LuaJIT-2.1.0-beta3"
20+ git clone https:// luajit.org/ git/ luajit.git -- branch v2.1 -- depth 1
21+
22+ Set-Location " luajit"
2423
2524mingw32-make.exe
2625
@@ -35,4 +34,4 @@ Copy-Item "src\luajit.exe" -Destination "$($installDir)\bin"
3534Copy-Item " src\lua51.dll" - Destination " $ ( $installDir ) \bin"
3635
3736Set-Location " $ ( $pwd.Path ) \.."
38- Remove-Item - Recurse - Force " LuaJit-2.1.0-beta3 "
37+ Remove-Item - Recurse - Force " luajit "
Original file line number Diff line number Diff line change 22
33sudo apt install build-essential libreadline-dev unzip wget
44wget https://luarocks.org/releases/luarocks-3.11.0.tar.gz
5- tar -zxpf luarocks-3.811 .0.tar.gz
5+ tar -zxpf luarocks-3.11 .0.tar.gz
66rm luarocks-3.11.0.tar.gz
77cd luarocks-3.11.0
88./configure
You can’t perform that action at this time.
0 commit comments