mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 11:14:57 +00:00
Merge everything.
This commit is contained in:
parent
57609f9e6d
commit
9178c8326b
4 changed files with 103 additions and 21 deletions
21
buildsync
21
buildsync
|
@ -1,21 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Updating epkgs..."
|
||||
cd epkgs
|
||||
git pull
|
||||
cd ..
|
||||
|
||||
|
||||
echo
|
||||
echo "*** Clearing the archives folder..."
|
||||
rm archives/*
|
||||
|
||||
|
||||
echo
|
||||
echo "*** Building all packages..."
|
||||
./buildarchive magit yasnippet markdown-mode markdown-mode+ deft gist hl-sentence ido-ubiquitous haskell-mode color-theme-solarized full-ack evil undo-tree
|
||||
|
||||
echo
|
||||
echo "*** Pushing changes to the server..."
|
||||
./sync
|
||||
|
50
melpa
Executable file
50
melpa
Executable file
|
@ -0,0 +1,50 @@
|
|||
#!/bin/bash
|
||||
|
||||
function melpa_update_epkgs {
|
||||
echo "Updating epkgs..."
|
||||
cd epkgs
|
||||
git pull
|
||||
cd ..
|
||||
echo
|
||||
}
|
||||
|
||||
function melpa_clear_archives {
|
||||
echo "*** Clearing the archives folder..."
|
||||
rm archives/*
|
||||
echo
|
||||
}
|
||||
|
||||
|
||||
function melpa_build_pkglist {
|
||||
echo "*** Building all packages..."
|
||||
for pkg in `echo pkglist`; do
|
||||
./buildarchive
|
||||
done
|
||||
echo
|
||||
}
|
||||
|
||||
function melpa_build_archive {
|
||||
echo "Building package: $pkg"
|
||||
emacs --batch -l package-build.el -u dcurtis --eval "(package-build-archive \"$1\")"
|
||||
echo
|
||||
}
|
||||
|
||||
function melpa_sync {
|
||||
echo "*** Pushing changes to the server..."
|
||||
rsync -avz --delete archives/ milkbox.net:webapps/melpa/packages
|
||||
echo
|
||||
}
|
||||
|
||||
function melpa_generate_html {
|
||||
echo "*** Building webpage..."
|
||||
cd webpage
|
||||
awk '{ if(/<!--list-of-packages-->/)
|
||||
while((getline < "../buildlist")>0)
|
||||
print "* " $0
|
||||
else print}' index.tmpl > index.md
|
||||
cd ..
|
||||
echo
|
||||
}
|
||||
|
||||
melpa_generate_html
|
||||
|
13
pkglist
Normal file
13
pkglist
Normal file
|
@ -0,0 +1,13 @@
|
|||
magit
|
||||
yasnippet
|
||||
markdown-mode
|
||||
markdown-mode+
|
||||
deft
|
||||
gist
|
||||
hl-sentence
|
||||
ido-ubiquitous
|
||||
haskell-mode
|
||||
color-theme-solarized
|
||||
full-ack
|
||||
evil
|
||||
undo-tree
|
40
webpage/index.tmpl
Normal file
40
webpage/index.tmpl
Normal file
|
@ -0,0 +1,40 @@
|
|||
% milkypostman's ELPA for HEAD
|
||||
|
||||
# Melpa
|
||||
|
||||
Melpa is a repository for development versions of Emacs packages (hot
|
||||
from the repo).
|
||||
|
||||
## Installing
|
||||
|
||||
To add the repository put this before the call to `package-initialize`
|
||||
in your `init.el` file.
|
||||
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
||||
|
||||
|
||||
## Known Issues
|
||||
|
||||
Due to the way the HTTP routing works on my provider, the HTTP/1.1
|
||||
connection will time out for long package installs -- where the
|
||||
package is large and takes a while to compile -- like *magit* or *evil*.
|
||||
|
||||
(setq url-http-attempt-keepalives nil)
|
||||
|
||||
This makes things a tad more slow but means that the install goes OK.
|
||||
|
||||
|
||||
## Development
|
||||
|
||||
[https://github.com/milkypostman/melpa](https://github.com/milkypostman/melpa)
|
||||
|
||||
Contributions are welcome. Currently, the builder only supports
|
||||
packages using git, subversion, mercurial, and darcs. This covers
|
||||
most of the packages that I am interested in.
|
||||
|
||||
|
||||
## List of Packages
|
||||
|
||||
<!--list-of-packages-->
|
||||
|
Loading…
Reference in a new issue