I'm trying to contrib to a project and installed cask and did
cask install and now I have a .cask folder with the deps. Now in emacs how do I evaluate a .
require of one of those deps? Is there a linking step that must be done to point the resolution to the .cask folder?
If the package has its dependencies properly declared,cask install should do all the setup that is necessary. Cask then builds the load-path automatically for you so that (require ...) statements resolve when you invoke cask exec.
Interactively evaluation / development of a package with cask-installed dependencies seems to be a shortcoming of Cask. Four options that come to mind:
- Not rely on the cask dependency management at all during your interactive development and install the dependencies manually via
package-installor your favorite package management tool. Be sure to run your tests in an isolated environment using
- Have cask build your load-path at startup and invoke
cask emacsfrom inside the target package directory.
- Adjust your load path to include the target package's dependencies under
- Write a helper to inspect target package dependencies and install them using
package-installor your favorite package management tool.