From e8ac8c46872bf1a7735ccbc6cf8ab74eb52a32d2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 25 May 2023 00:03:46 -0700 Subject: [PATCH] Replace all Cask files with Eldev files I'm working on moving my build setup to my own laminar[1] instance. To do this I need to be able to package files up. It appears that I couldn't quite get Cask to work, and Eldev exists in the Guix[2] package repository. [1]: https://laminar.ryuslash.org/ [2]: https://guix.gnu.org/ --- oni-bats/Cask | 8 -------- oni-bats/Eldev | 13 +++++++++++++ oni-conf/Cask | 8 -------- oni-conf/Eldev | 13 +++++++++++++ oni-csharp/Cask | 8 -------- oni-csharp/Eldev | 13 +++++++++++++ oni-css/Cask | 8 -------- oni-css/Eldev | 13 +++++++++++++ oni-elisp/Cask | 8 -------- oni-elisp/Eldev | 13 +++++++++++++ oni-haml/Cask | 8 -------- oni-haml/Eldev | 13 +++++++++++++ oni-html/Cask | 8 -------- oni-html/Eldev | 13 +++++++++++++ oni-nxml/Cask | 8 -------- oni-nxml/Eldev | 13 +++++++++++++ oni-org/Cask | 10 ---------- oni-org/Eldev | 20 ++++++++++++++++++++ oni-php/Cask | 8 -------- oni-php/Eldev | 13 +++++++++++++ oni-python/Cask | 8 -------- oni-python/Eldev | 13 +++++++++++++ oni-ruby/Cask | 8 -------- oni-ruby/Eldev | 13 +++++++++++++ oni-twig/Cask | 8 -------- oni-twig/Eldev | 13 +++++++++++++ 26 files changed, 176 insertions(+), 106 deletions(-) delete mode 100644 oni-bats/Cask create mode 100644 oni-bats/Eldev delete mode 100644 oni-conf/Cask create mode 100644 oni-conf/Eldev delete mode 100644 oni-csharp/Cask create mode 100644 oni-csharp/Eldev delete mode 100644 oni-css/Cask create mode 100644 oni-css/Eldev delete mode 100644 oni-elisp/Cask create mode 100644 oni-elisp/Eldev delete mode 100644 oni-haml/Cask create mode 100644 oni-haml/Eldev delete mode 100644 oni-html/Cask create mode 100644 oni-html/Eldev delete mode 100644 oni-nxml/Cask create mode 100644 oni-nxml/Eldev delete mode 100644 oni-org/Cask create mode 100644 oni-org/Eldev delete mode 100644 oni-php/Cask create mode 100644 oni-php/Eldev delete mode 100644 oni-python/Cask create mode 100644 oni-python/Eldev delete mode 100644 oni-ruby/Cask create mode 100644 oni-ruby/Eldev delete mode 100644 oni-twig/Cask create mode 100644 oni-twig/Eldev diff --git a/oni-bats/Cask b/oni-bats/Cask deleted file mode 100644 index 1a6e405..0000000 --- a/oni-bats/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-bats.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-bats/Eldev b/oni-bats/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-bats/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-conf/Cask b/oni-conf/Cask deleted file mode 100644 index 064d0bb..0000000 --- a/oni-conf/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-conf.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-conf/Eldev b/oni-conf/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-conf/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-csharp/Cask b/oni-csharp/Cask deleted file mode 100644 index e42c835..0000000 --- a/oni-csharp/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-csharp.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-csharp/Eldev b/oni-csharp/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-csharp/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-css/Cask b/oni-css/Cask deleted file mode 100644 index 40766c6..0000000 --- a/oni-css/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-css.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-css/Eldev b/oni-css/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-css/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-elisp/Cask b/oni-elisp/Cask deleted file mode 100644 index 9f7cef0..0000000 --- a/oni-elisp/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-elisp.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-elisp/Eldev b/oni-elisp/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-elisp/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-haml/Cask b/oni-haml/Cask deleted file mode 100644 index 9bcc49f..0000000 --- a/oni-haml/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-haml.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-haml/Eldev b/oni-haml/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-haml/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-html/Cask b/oni-html/Cask deleted file mode 100644 index f985d16..0000000 --- a/oni-html/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-html.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-html/Eldev b/oni-html/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-html/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-nxml/Cask b/oni-nxml/Cask deleted file mode 100644 index d66d955..0000000 --- a/oni-nxml/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-nxml.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-nxml/Eldev b/oni-nxml/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-nxml/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-org/Cask b/oni-org/Cask deleted file mode 100644 index e92ff13..0000000 --- a/oni-org/Cask +++ /dev/null @@ -1,10 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-org.el") - -(files - "*.el" - ("snippets" "./snippets/*") - ("icons" "./icons/*") - ("capture-templates" "./capture-templates/*")) diff --git a/oni-org/Eldev b/oni-org/Eldev new file mode 100644 index 0000000..7c2d187 --- /dev/null +++ b/oni-org/Eldev @@ -0,0 +1,20 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-local-dependency + (car (directory-files (format "%s/share/emacs/site-lisp" (getenv "GUIX_ENVIRONMENT")) + t "org-pretty-table" nil 1))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" + "./snippets/**/*" + "./icons/**/*" + "./capture-templates/**/*"))) diff --git a/oni-php/Cask b/oni-php/Cask deleted file mode 100644 index b52c875..0000000 --- a/oni-php/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-php.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-php/Eldev b/oni-php/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-php/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-python/Cask b/oni-python/Cask deleted file mode 100644 index 4699a2f..0000000 --- a/oni-python/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-python.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-python/Eldev b/oni-python/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-python/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-ruby/Cask b/oni-ruby/Cask deleted file mode 100644 index 4c18388..0000000 --- a/oni-ruby/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-ruby.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-ruby/Eldev b/oni-ruby/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-ruby/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*"))) diff --git a/oni-twig/Cask b/oni-twig/Cask deleted file mode 100644 index ffb9491..0000000 --- a/oni-twig/Cask +++ /dev/null @@ -1,8 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "./oni-twig.el") - -(files - "*.el" - ("snippets" "./snippets/*")) diff --git a/oni-twig/Eldev b/oni-twig/Eldev new file mode 100644 index 0000000..1ba3134 --- /dev/null +++ b/oni-twig/Eldev @@ -0,0 +1,13 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) +(eldev-use-package-archive `("oni" . ,(expand-file-name "../bin"))) + +(eldev-use-plugin 'autoloads) + +(setf eldev-files-to-package + `(:or ,eldev-files-to-package + '("*.el" "./snippets/**/*")))