mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 11:14:57 +00:00
Update README to reflect recent changes.
This commit is contained in:
parent
01fc0ccf26
commit
5c216821f5
1 changed files with 28 additions and 21 deletions
35
README.md
35
README.md
|
@ -85,7 +85,7 @@ Let `<NAME>` denote the name of the recipe to submit.
|
|||
`package-build` was loaded).
|
||||
3. Confirm your package build properly by running
|
||||
|
||||
./buildpkg <NAME>
|
||||
make recipes/<NAME>
|
||||
|
||||
4. Install the file you built by running `package-install-file` from
|
||||
within Emacs and specifying the newly built package in the directory
|
||||
|
@ -284,26 +284,32 @@ pony-mode-YYYYMMDD
|
|||
|
||||
## Build Scripts
|
||||
|
||||
The scripts described here
|
||||
Building MELPA is all based around using the `Makefile` included in
|
||||
the root repository directory. Described below are the actions that
|
||||
accepted by the `Makefile`.
|
||||
|
||||
* `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.
|
||||
* `all` -- Builds all packages under the `recipes/` directory and compiles the `index.html` file for the [melpa] website.
|
||||
|
||||
* `melpa` -- All the logic for generating everything in the repository
|
||||
based on the recipe files. By default build all packages listed under
|
||||
`recipes/`, and compile the `index.html` file for the [melpa] website.
|
||||
* `recipes/<NAME>` -- Build individual recipe `<NAME>`. 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.
|
||||
|
||||
The following arguments are accepted:
|
||||
* `json` -- build all JSON files.
|
||||
|
||||
clear : clean out the `packages/` directory
|
||||
* `archive.json` -- construct the `archive.json` file that will contain a JSON object of all compiled packages.
|
||||
|
||||
build : build all packages in `pkglist`
|
||||
* `recipes.json` -- construct the `recipes.json` file containing a JSON object of all packages available for building.
|
||||
|
||||
index : build the `index.html` file
|
||||
* `clean` -- clean everything.
|
||||
|
||||
validate :naively validate that the correct number of packages were built.
|
||||
* `html` -- build `index.html`.
|
||||
|
||||
* `clean-working` -- remove all repositories that have been checked out to the `working/` directory.
|
||||
|
||||
* `clean-packages` -- remove all compiled packages from the `packages` directory.
|
||||
|
||||
* `clean-json` -- remove all JSON files.
|
||||
|
||||
Note that these scripts require an Emacs with `package.el` installed,
|
||||
such as Emacs 24. If you have an older version of Emacs, you can get a
|
||||
|
@ -311,6 +317,7 @@ based on the recipe files. By default build all packages listed under
|
|||
|
||||
[melpa]: http://melpa.milkbox.net
|
||||
|
||||
|
||||
## API
|
||||
|
||||
All repository code is contained in the `package-build.el`.
|
||||
|
|
Loading…
Reference in a new issue