1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-14 23:37:40 +00:00

Change interface for bundle/install

Name argument should be inferred in most cases. Also use :name
instead of :bundle-name in most places to be terser and simpler.
This commit is contained in:
Calvin Rose
2024-05-26 16:26:08 -05:00
parent 2028ac8a20
commit 600e822933
5 changed files with 25 additions and 21 deletions

View File

@@ -57,7 +57,7 @@
# Try (and fail) to install sample-bundle (missing deps)
(assert-error "missing dependencies sample-dep1, sample-dep2"
(bundle/install "./examples/sample-bundle" "sample-bundle"))
(bundle/install "./examples/sample-bundle"))
(assert (empty? (bundle/list)))
# Install deps (dep1 as :auto-remove)