janet-lang / jpm

Janet Project Manager
MIT License
72 stars 22 forks source link

allow bundle-install to avoid reinstalling an already installed package #85

Closed wooosh closed 1 year ago

wooosh commented 1 year ago

This pull request enables bundle-install to avoid reinstalling already installed packages, except when explicitly told to via either jpm update-pkgs or jpm update-installed. This enables jpm deps or jpm load-lockfile to have essentially zero cost when the packages are already installed.

Related: #82

bakpakin commented 1 year ago

LGTM. I think that avoid extra updates is probably the best behavior here.