dimitri/el-get

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

lispstudent opened this issue · 2 comments

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?

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.

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")))