Scripts for building Emacs packages from Version Control
Find a file
Donald Ephraim Curtis 76fd6c24d6 Add a package-build-all function to build all known packages.
Improves speed and eases addition of more packages.

No need for buildlist anymore.
2012-01-22 13:05:59 -06:00
html rename webpage directory to html 2012-01-21 23:23:14 -06:00
packages Completion of reorganization. 2011-12-13 21:08:36 -06:00
working Initial commit. 2011-10-05 00:49:38 -05:00
.gitignore fix ignores from rename from website to html 2012-01-21 23:44:11 -06:00
.gitmodules Completion of reorganization. 2011-12-13 21:08:36 -06:00
buildpkg Completion of reorganization. 2011-12-13 21:08:36 -06:00
melpa Add a package-build-all function to build all known packages. 2012-01-22 13:05:59 -06:00
migrate update migrate script to ignore summary 2012-01-22 00:38:53 -06:00
package-build.el Add a package-build-all function to build all known packages. 2012-01-22 13:05:59 -06:00
pkglist Add ruby-mode 2012-01-22 12:19:15 -06:00
README.md Completion of reorganization. 2011-12-13 21:08:36 -06:00

MELPA

Repository of code for MELPA or Milkypostman's ELPA or Milkypostman's Experimental Lisp Package Repository if you're not into the whole brevity thing.

Checking out

git clone git://github.com/milkypostman/melpa.git
git sm init
git sm update

Scripts

  • buildpkg -- Create an archive of the package(s) passed as arguments to the script. Built packages are put in the packages/ folder with version corresponding to the newest HEAD revision available; given according to the %Y%m%d format.

  • melpa -- All the logic for generating everything in the repository based on the pkglist file. By default this will update the epkgs repository, build all packages listed in pkglist, compile the index.html file for the melpa website front page, and sync with the site.

    The following arguments are accepted,

    update : update the epkgs repository

    clear : clean out the packages/ directory

    build : build all packages in pkglist

    index : build the index.html file

    sync : sync built files with the repository

Code

The package-build.el file contains all the heavy lifting. The scripts above call the package-build-archive function from the command-line to actually build the package(s).

Alternatively you can load this file from within Emacs and issues commands from there.

Adding Packages

Feel free to open an Issue requesting packages and I'll see if they build nicely.

Developement

Fork away! Send me some pull requests.

Notes

Packages end up in the packages/ directory by default. This can be configured using the package-build-archive-dir variable.

Repositories are checked out to the working/ directory by default. This can be configured using the package-build-working-dir variable.

All metadata for building the packages is based off the git submodule for the epkgs repository generated by the emacsmirror. However, currently the site is not keeping up-to-date so I have mirrored the site.