-
Notifications
You must be signed in to change notification settings - Fork 0
Using a development version of Saké
Ashley Gibson edited this page Jul 4, 2024
·
4 revisions
Follow these steps to use a development version of Saké in a plugin repo. Useful for testing changes to build or deploy processes without cowboy coding in this repo. 🤠
- Make sure you have cloned this repo locally
-
cd
into your sake repo directory, iecd ~/code/skyverge/sake
- Run
npm install
- Run
npm link
- this will create a symlink to the sake binary, so you can runsake
from your CLI - Navigate to a plugin repo and use
sake
instead ofnpx sake
, for example:sake config
- Tip! You can still use
npx sake
to use the local version installed in the plugin repo
In the eventuality that running sake
throws errors, you should verify that the right version of sake
is being used. This may happen if you have used npm link
with sudo
in some Linux installations.
Try to run which sake
or sudo which sake
to see which copies of sake
you have. A workaround could be to try running sake
with full path as /usr/bin/sake
(depending on which
output) to see if issues are resolved. Although You could symlink this version to avoid having to type full path each time.