1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-06 12:58:04 +00:00

Add bundle/prune and support for :auto-remove.

This allows dependencies to be marked such that they are not
primary dependencies installed by the users - rather, they are
dependencies of dependencies. This distinction is important when
a user installs a package that itself has dependencies.

This also interacts with new features to prevent a user from breaking
their installation by installing needed packages or
installing/uninstalling bundles out of order.
This commit is contained in:
Calvin Rose
2024-05-25 10:48:26 -05:00
parent ae4b8078df
commit 7387a1d91e
4 changed files with 85 additions and 11 deletions

View File

@@ -0,0 +1,3 @@
@{
:dependencies ["spork"]
}

View File

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

View File

@@ -0,0 +1,3 @@
(defn myfn
[x]
(+ x x))