Open wyuenho opened 2 years ago
Alternatively, having a way to switch to a different Caskfile would also solves this problem for me.
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
.
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.