janet-lang / jpm

Janet Project Manager
MIT License
65 stars 21 forks source link

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

Closed wooosh closed 8 months ago

wooosh commented 8 months 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 8 months ago

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