Skip to content

Commit b4d5a97

Browse files
committed
Added git
1 parent ab1d58b commit b4d5a97

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

LuaJIT-For-Windows.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ set LUADIR=%~dp0
139139
set LUADIR=%LUADIR:~,-1%
140140

141141
rem Set paths
142-
set PATH=%LUADIR%\mingw\bin;%LUADIR%\lib;%LUADIR%\bin;%APPDATA%\LJ4W\LuaRocks\bin;%PATH%
142+
set PATH=%LUADIR%\tools\cmd;%LUADIR%\tools\PortableGit\mingw64\bin;%LUADIR%\tools\PortableGit\usr\bin;%LUADIR%\tools\mingw\bin;%LUADIR%\lib;%LUADIR%\bin;%APPDATA%\LJ4W\LuaRocks\bin;%PATH%
143143
set LUA_PATH=%LUADIR%\lua\?.lua;%LUADIR%\lua\?\init.lua;%APPDATA%\LJ4W\LuaRocks\share\lua\5.1\?.lua;%APPDATA%\LJ4W\LuaRocks\share\lua\5.1\?\init.lua;%LUA_PATH%
144144
set LUA_CPATH=%APPDATA%\LJ4W\LuaRocks\lib\lua\5.1\?.dll;%LUA_CPATH%
145145

@@ -157,6 +157,6 @@ if not exist "%APPDATA%\LuaRocks\config-5.1.lua" call luarocks config > "%APPDAT
157157

158158
rem Command prompt
159159
echo ***** LuaJIT For Windows *****
160-
for /f "tokens=*" %%0 in ('call luajit -v^&call luarocks --version ^| findstr /v main^&call gcc --version ^| findstr clang') do echo %%0
160+
for /f "tokens=*" %%0 in ('call luajit -v^&call luarocks --version ^| grep -v main^&call gcc --version ^| grep clang') do echo %%0
161161
echo.
162162
cmd /k

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform)
22

33
# LuaJIT For Windows
4-
LuaJIT For Windows packages LuaJIT, LuaRocks, and a Mingw-w64 tool chain for a modern and easy-to-use all-in-one Lua solution that can be distributed as a standard Lua environment for any Lua workflow running on a 64-bit Windows platform.
4+
LuaJIT For Windows packages LuaJIT, LuaRocks, a Mingw-w64 tool chain, and git for a modern and easy-to-use all-in-one Lua solution that can be distributed as a standard Lua environment for any Lua workflow running on a 64-bit Windows platform.
55

66
**Download the full pre-bundled self-extracting package here:**
77
https://github.com/ScriptTiger/LuaJIT-For-Windows/releases/latest
@@ -16,9 +16,13 @@ https://luarocks.org
1616
https://github.com/luarocks/luarocks
1717

1818
**Mingw-w64**
19-
For those familiar with cross-platform development, or for those who just love the tool, Mingw-w64 needs no introduction. LLVM MinGW brings the standard Mingw-w64 environment needed to compile various components that may come with LuaRocks packages, so having the MSVC suite installed is not necessary. And as an added bonus, it can also target i686, x86_64, armv7, as well as arm64 architectures from within the same environment.
19+
For those familiar with cross-platform development, or for those who just love the tool, Mingw-w64 needs no introduction. LLVM MinGW brings the standard Mingw-w64 environment needed to compile various components that may come with LuaRocks packages, so having the MSVC suite installed is not necessary.
2020
https://github.com/mstorsjo/llvm-mingw
2121

22+
**git**
23+
Another staple of open source, git provides the LuaJIT For Windows package the necessary functionality of interacting directly with git repositories using the git protocol.
24+
https://git-scm.com/download/win
25+
2226
# How it Works
2327
LuaJIT for Windows is designed with portability and flexibility in mind. Once the self-extracting package extracts LuaJIT For Windows to the directory of your choosing, you can immediately run it without any installation via the `LuaJIT-For-Windows.cmd`.
2428

0 commit comments

Comments
 (0)