-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
pkgxdev/pantry.core
#522Description
I had a discussion with @ddobrinskiy about testing / using a package locally that was built locally with pkg but not yet merged in the global pantry.
For example git3.sh
$ cd ~/pantry.extra
$ pkg build git3.sh
...
# builds binary successfully to tea.out/git3.sh
# open a new terminal in `cd $HOME`
$ TEA_PREFIX=~/pantry.extra/tea.out tea +git3.sh git3 --help
resolving package graph
error: not-found: pantry (spilt-tea-007)
no pantry: run `tea --sync`Expectation
I expect that if I change the TEA_PREFIX to something where the package + binary already exists locally, it would work.
Interesting observation on what works:
$ cd ~/pantry.extra
$ TEA_PREFIX=~/dev/tea/pantry.extra/tea.out tea +git3.sh git3 --help
Usage: git3 [options] [command]
git3 mangement tool
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels