dfinity / vessel

The original package manager for Motoko
Apache License 2.0
113 stars 19 forks source link

How to make the `make test` not download package everytime? #39

Closed flyq closed 2 years ago

flyq commented 2 years ago

I build a module with test file, so I need make test often to make sure the code is right.

But It installs the same packages everytime, waste a litte time:

make test
make -C test
[INFO] Installing 2 packages
[INFO] Installation complete.
.vessel/.bin/0.6.5/moc --package base .vessel/base/927119e172964f4038ebc7018f9cc1b688544bfa/src --package matchers .vessel/matchers/v1.2.0/src -wasi-system-api -o Test.wasm Test.mo && wasmtime Test.wasm
All tests passed.
rm -f Test.wasm
flyq commented 2 years ago

fixed now when I use vessel