mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
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:
parent
49495e9b06
commit
d6357fa1dd
2 changed files with 4 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue