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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user