Skip to content

Commit

Permalink
Make individual recipe builds via Make fail when appropriate
Browse files Browse the repository at this point in the history
Requires a docker image rebuild, due to related changes in the
parallel_build_all script.

See melpa/package-build#50
  • Loading branch information
purcell committed Mar 22, 2021
1 parent efd78c6 commit ab71444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ $(RCPDIR)/.dirstamp: .FORCE
## Recipe rules
$(RCPDIR)/%: .FORCE
@echo " • Building package $(@F) ..."
@- exec 2>&1; exec &> >(tee $(PKGDIR)/$(@F).log); \
@exec 2>&1; exec &> >(tee $(PKGDIR)/$(@F).log); \
$(TIMEOUT) $(EVAL) "(package-build-archive \"$(@F)\")" \
&& echo " ✓ Success:" \
&& ls -lsh $(PKGDIR)/$(@F)-*
Expand Down
2 changes: 1 addition & 1 deletion docker/builder/parallel_build_all
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function build_all {

## run the script
cd "/mnt/store/melpa"
make -j8 $(grep --files-without-match ':fetcher\s*wiki' $(find recipes/ -type f -not -name python-info -and -not -name python3-info | sort)) &
make -k -j8 $(grep --files-without-match ':fetcher\s*wiki' $(find recipes/ -type f -not -name python-info -and -not -name python3-info | sort)) &
wait

# python-info and python3-info are too big to run while other are
Expand Down

0 comments on commit ab71444

Please sign in to comment.