1
0
mirror of https://github.com/janet-lang/janet synced 2025-08-30 17:38:04 +00:00

Add aliases for bundle/module - issue #1486

info.jdn -> bundle/info.jdn
bundle.janet -> bundle/init.janet
This commit is contained in:
Calvin Rose
2024-08-17 09:57:56 -05:00
parent 6ceff6ecc9
commit 85028967d8
6 changed files with 36 additions and 4 deletions

View File

@@ -0,0 +1 @@
(defn fun [x] (range x))

View File

@@ -0,0 +1,3 @@
(defn install
[manifest &]
(bundle/add-file manifest "aliases-mod.janet"))

View File

@@ -0,0 +1,4 @@
@{
:name "sample-bundle-aliases"
:dependencies ["sample-dep1" "sample-dep2"]
}