purcell / nix-emacs-ci

Emacs builds for continuous integration
183 stars 13 forks source link

[Feature Request] Cask support #7

Open cireu opened 5 years ago

cireu commented 5 years ago

Cask https://github.com/cask/cask is also a famous Elisp project manager, would you like to add support of Cask?

purcell commented 5 years ago

My goal here is just to provide emacs binaries, and I don't think there's any particular need to provide cask support: it can be easily installed using the command listed in the cask readme.

However, cask is also available in Nixpkgs, so at some point I will figure out how users can use the Nix cask with one of these Emacs versions. This will also allow arbitrary pre-installation of any ELPA/MELPA package, since Nix knows about all those packages too.

alphapapa commented 4 years ago

@cireu Forgive the intrusion, but you might find this useful as an alternative to Cask: https://github.com/alphapapa/makem.sh It works well with https://github.com/purcell/setup-emacs, and it can even read dependencies from Cask files.

cireu commented 4 years ago

@cireu Forgive the intrusion, but you might find this useful as an alternative to Cask: https://github.com/alphapapa/makem.sh It works well with https://github.com/purcell/setup-emacs, and it can even read dependencies from Cask files.

Thanks for you suggestion! I think I will try it. BTW, would you have plan to make your script a Github Action template like setup-emacs?

alphapapa commented 4 years ago

I'm open to that idea, yes, as long as it doesn't require something like writing hundreds of lines of JavaScript boilerplate. For example, this feels impenetrable to me for what seems like should be a simple task, but I guess it's what GitHub Actions requires: https://github.com/purcell/setup-emacs/blob/master/dist/index.js Steve is a wizard! :)

purcell commented 4 years ago

https://github.com/purcell/setup-emacs/blob/master/dist/index.js Steve is a wizard! :

@alphapapa Haha, nope, that's generated from much simpler typescript here: https://github.com/purcell/setup-emacs/tree/master/src

(The compilation is done with this command.)

purcell commented 9 months ago

Came across this old issue and wanted to note for @alphapapa's benefit that these days it's pretty trivial to write github actions as shell scripts, and this repository now works that way too — no JS faff.

alphapapa commented 9 months ago

Came across this old issue and wanted to note for @alphapapa's benefit that these days it's pretty trivial to write github actions as shell scripts, and this repository now works that way too — no JS faff.

Thanks, Steve!