Skip to content

Commit

Permalink
Added git
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptTiger committed Apr 1, 2023
1 parent ab1d58b commit b4d5a97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions LuaJIT-For-Windows.cmd
Expand Up @@ -139,7 +139,7 @@ set LUADIR=%~dp0
set LUADIR=%LUADIR:~,-1%

rem Set paths
set PATH=%LUADIR%\mingw\bin;%LUADIR%\lib;%LUADIR%\bin;%APPDATA%\LJ4W\LuaRocks\bin;%PATH%
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%
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%
set LUA_CPATH=%APPDATA%\LJ4W\LuaRocks\lib\lua\5.1\?.dll;%LUA_CPATH%

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

rem Command prompt
echo ***** LuaJIT For Windows *****
for /f "tokens=*" %%0 in ('call luajit -v^&call luarocks --version ^| findstr /v main^&call gcc --version ^| findstr clang') do echo %%0
for /f "tokens=*" %%0 in ('call luajit -v^&call luarocks --version ^| grep -v main^&call gcc --version ^| grep clang') do echo %%0
echo.
cmd /k
8 changes: 6 additions & 2 deletions README.md
@@ -1,7 +1,7 @@
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform)

# LuaJIT For Windows
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.
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.

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

**Mingw-w64**
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.
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.
https://github.com/mstorsjo/llvm-mingw

**git**
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.
https://git-scm.com/download/win

# How it Works
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`.

Expand Down

0 comments on commit b4d5a97

Please sign in to comment.