mirror of
https://github.com/janet-lang/janet
synced 2025-11-12 05:23:02 +00:00
Merge pull request #1640 from sogaiu/add-some-windows-commentary
Improve windows-related docs and notes
This commit is contained in:
@@ -49,6 +49,7 @@ for %%f in (src\boot\*.c) do (
|
|||||||
)
|
)
|
||||||
%JANET_LINK% /out:build\janet_boot.exe build\boot\*.obj
|
%JANET_LINK% /out:build\janet_boot.exe build\boot\*.obj
|
||||||
@if errorlevel 1 goto :BUILDFAIL
|
@if errorlevel 1 goto :BUILDFAIL
|
||||||
|
@rem note that there is no default sysroot being baked in
|
||||||
build\janet_boot . > build\c\janet.c
|
build\janet_boot . > build\c\janet.c
|
||||||
@if errorlevel 1 goto :BUILDFAIL
|
@if errorlevel 1 goto :BUILDFAIL
|
||||||
|
|
||||||
|
|||||||
5
janet.1
5
janet.1
@@ -214,7 +214,7 @@ Don't execute a script, only compile it to check for errors. Useful for linting
|
|||||||
.BR \-m\ syspath
|
.BR \-m\ syspath
|
||||||
Set the dynamic binding :syspath to the string syspath so that Janet will load system modules
|
Set the dynamic binding :syspath to the string syspath so that Janet will load system modules
|
||||||
from a directory different than the default. The default is set when Janet is built, and defaults to
|
from a directory different than the default. The default is set when Janet is built, and defaults to
|
||||||
/usr/local/lib/janet on Linux/Posix, and C:/Janet/Library on Windows. This option supersedes JANET_PATH.
|
/usr/local/lib/janet on Linux/Posix. On Windows, there is no default value. This option supersedes JANET_PATH.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-c\ source\ output
|
.BR \-c\ source\ output
|
||||||
@@ -255,8 +255,7 @@ and then arguments to the script.
|
|||||||
.RS
|
.RS
|
||||||
The location to look for Janet libraries. This is the only environment variable Janet needs to
|
The location to look for Janet libraries. This is the only environment variable Janet needs to
|
||||||
find native and source code modules. If no JANET_PATH is set, Janet will look in
|
find native and source code modules. If no JANET_PATH is set, Janet will look in
|
||||||
the default location set at compile time. This should be a list of as well as a colon
|
the default location set at compile time. This should be a colon-separated list of directory names on Linux/Posix, and a semicolon-separated list on Windows. Note that a typical setup (i.e. not NixOS / Guix) will only use a single directory.
|
||||||
separate list of such directories.
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.B JANET_PROFILE
|
.B JANET_PROFILE
|
||||||
|
|||||||
@@ -37,6 +37,12 @@
|
|||||||
Version="$(var.Version)"
|
Version="$(var.Version)"
|
||||||
Manufacturer="$(var.Manufacturer)"
|
Manufacturer="$(var.Manufacturer)"
|
||||||
UpgradeCode="$(var.UpgradeCode)">
|
UpgradeCode="$(var.UpgradeCode)">
|
||||||
|
<!--
|
||||||
|
perUser means destination will be under user's %AppData% directory,
|
||||||
|
not Program Files or similar.
|
||||||
|
|
||||||
|
see: https://learn.microsoft.com/en-us/windows/win32/msi/installation-context
|
||||||
|
-->
|
||||||
<Package Compressed="yes"
|
<Package Compressed="yes"
|
||||||
InstallScope="perUser"
|
InstallScope="perUser"
|
||||||
Manufacturer="$(var.Manufacturer)"
|
Manufacturer="$(var.Manufacturer)"
|
||||||
|
|||||||
Reference in New Issue
Block a user