1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-18 11:19:56 +00:00
janet/src
Calvin Rose b75fb8dc9e Add :@all: to module/expand-path
Allow more easily importing modules from custom directories
without jumping through too many hoops. Technically, this was
possible before but required circumventing the built-in module/paths
and was just a hassle.

Also add entries to module/path (and module/add-path) to allow code
like the following.

(setdyn :my-libs "/home/me/janet-stuff/")

(import @my-libs/toolbox)

Intended for things like test harnesses where code might not
be installed to the usual directories.
2022-11-04 11:15:48 -05:00
..
boot Add :@all: to module/expand-path 2022-11-04 11:15:48 -05:00
conf Fix panicf call. 2022-10-30 09:57:40 -05:00
core Add :@all: to module/expand-path 2022-11-04 11:15:48 -05:00
include Fix typo in define comment 2022-08-30 09:21:20 +02:00
mainclient Fix build warnings on Linux GCC version 12.1.0 x64 2022-07-20 08:04:03 -05:00