mirror of
https://github.com/janet-lang/janet
synced 2025-10-22 03:07:41 +00:00
Update module system.
Add relative imports and path normalization. This should help towards a more composable build/dependency system.
This commit is contained in:
2
janet.1
2
janet.1
@@ -73,7 +73,7 @@ Don't execute a script, only compile it to check for errors. Useful for linting
|
||||
|
||||
.TP
|
||||
.BR \-m\ syspath
|
||||
Set the variable module/*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
|
||||
/usr/local/lib/janet on Linux/Posix, and C:/Janet/Library on Windows. This option supersedes JANET_PATH.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user