1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-04 13:59:54 +00:00
janet/examples/sample-bundle/bundle/init.janet
Calvin Rose 7387a1d91e 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.
2024-05-25 10:48:26 -05:00

4 lines
73 B
Plaintext

(defn install
[manifest &]
(bundle/add-file manifest "mymod.janet"))