temporary fix for wiki packages.

This will pause 2 seconds between every wiki package build to ensure
that we are not hitting the webserver access limit.
This commit is contained in:
Melpa 2013-11-21 01:02:54 -08:00 committed by Steve Purcell
parent 49495e9b06
commit d6357fa1dd
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,7 @@ HTMLDIR := ./html
WORKDIR := ./working
WEBROOT := $$HOME/www
EMACS ?= emacs
SLEEP ?= 0
EVAL := $(EMACS)
@ -77,6 +78,8 @@ $(RCPDIR)/%: .FORCE
- timeout -k 60 600 $(EVAL) "(package-build-archive '$(@F))"
@echo " ✓ Wrote $$(ls -lsh $(PKGDIR)/$(@F)-*) "
@echo " Sleeping for $(SLEEP) ..."
sleep $(SLEEP)
@echo

View file

@ -17,7 +17,7 @@ function build_all {
## run the script
cd ${MELPA_HOME}
# grep --files-with-match wiki recipes/* | xargs make -j1 &
make -j1 $(grep --files-with-match wiki recipes/*) &
make SLEEP=2 -j1 $(grep --files-with-match wiki recipes/*) &
# grep --files-without-match wiki recipes/* | xargs make -j4 &
make -j4 $(grep --files-without-match wiki recipes/*) &
wait