cask / cask

Project management tool for Emacs
http://cask.readthedocs.io
GNU General Public License v3.0
1.27k stars 147 forks source link

Cask build should not always build with development dependencies #576

Open wyuenho opened 2 years ago

wyuenho commented 2 years ago

Sometime a package may have optional dependencies on development dependencies such as flycheck, but would like to byte compile the package with and without them. It would be nice if there was a flag available on the build command to control whether one would like to build with development dependencies rather than always building with them.

wyuenho commented 2 years ago

Alternatively, having a way to switch to a different Caskfile would also solves this problem for me.

jcs090218 commented 1 year ago

I forget how Cask deal with this kind of issue, but here is how you can do it in Eask:

;; package dependencies
(depends-on "s")

;; Development dependencies
(development
 (depends-on "flycheck"))

then eask install-deps. If you want to install dev dependencies add a --dev flag, therefore, eask install-deps --dev.