@@ -23,30 +23,14 @@ winget install --id DEVCOM.Lua
2323 [ Clang] ( https://clang.llvm.org/ ) )
2424- [ CMake] ( https://cmake.org/ )
2525- [ Ninja] ( https://ninja-build.org/ )
26- - [ ImageMagick] ( https://imagemagick.org/ )
27- - [ GhostScript] ( https://www.ghostscript.com/ )
28- - [ WiX v3] ( https://wixtoolset.org/docs/wix3/ )
2926
30- You can install the first five components with the following
27+ You can install these components with the following
3128[ winget] ( https://learn.microsoft.com/windows/package-manager/winget/ ) commands:
3229
3330``` powershell
3431winget install --id LLVM.LLVM
3532winget install --id Kitware.CMake
3633winget install --id Ninja-build.Ninja
37- winget install --id ImageMagick.ImageMagick
38- winget install --id ArtifexSoftware.GhostScript
39- ```
40-
41- WiX v3 is available at < https://github.com/wixtoolset/wix3/releases/ > . It
42- requires .NET Framework 3.5 that can be installed with the following command:
43-
44- ``` powershell
45- Start-Process `
46- -FilePath pwsh `
47- -ArgumentList "-Command `"& {Enable-WindowsOptionalFeature -Online -FeatureName NetFx3}`"" `
48- -Wait `
49- -Verb RunAs
5034```
5135
5236Update your path environment with ` setx ` (supposing you installed the tools in
@@ -63,17 +47,14 @@ Check if `PATH` was set correctly:
6347Get-Command clang
6448Get-Command cmake
6549Get-Command ninja
66- Get-Command magick
67- Get-Command gswin64
6850```
6951
7052You may need to restart your Windows session if you can't find ` ninja ` even
7153after restarting your terminal.
7254
7355## Build
7456
75- Use the following commands to generate the installation package in both ZIP and
76- MSI formats:
57+ Use the following commands to generate a ZIP package with Lua and LuaRocks:
7758
7859``` powershell
7960cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo
@@ -85,4 +66,4 @@ code and LuaRocks binaries.
8566
8667For convenience, you can use the ` Build-Lua.ps1 ` script to run these commands.
8768
88- If successful, the ZIP and MSI files will be available in the ` build ` directory.
69+ If successful, the ZIP file will be available in the ` build ` directory.
0 commit comments