dimitri / el-get

Manage the external elisp bits and pieces upon which you depend!
http://tapoueh.org/emacs/el-get.html
1.64k stars 457 forks source link

Install-only recipe, based on a local-only package? #2790

Open lispstudent opened 3 years ago

lispstudent commented 3 years ago

I read el-get Info manual, but I could not find a way to specify a recipe to just install a local package, ie just make, install-info etc, without first fetching a repository from git, svn, wiki recipe, etc?

Something like,

(defconst el-get-sources
  '((:name my-mode  :type local :path "path/to/my-mode")))

Is this possible at all? Where could I more details?

lispstudent commented 3 years ago

I must say I am learning a lot by studying el-get code, and I like it very much.

I see there are no specified methods in method directory for what I need.

At this point I will try to add an additional method, to specify a package already in-place, and also using rsync.

lispstudent commented 3 years ago

A simple, hacky, way would be to use :type http with:url "file:///, ie something like:

(defconst el-get-sources '((:name buffer-move
                :type http
                :url "file:///home/src/emacs/buffer-move/buffer-move.el")))