forked from radian-software/straight.el
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp build steps (radian-software#662)
A recipe may specify build steps via the :build keyword. (Note the original :build keyword has been renamed to :pre-build) The :build keyword accepts the following values: - nil No build is executed. :pre-build and :post-build commands are not run. e.g. (example :build nil) - t straight--build-default-steps are run (regardless of straight-disable-SYMBOL options) - (step...) Each step is a symbol which represents a function named straight--build-SYMBOL. The function is passed the recipe as its sole argument. Steps are executed in the order they are listed. e.g. (example :build (autoloads compile native-compile info)) - (:not step...) If the car of the list is the :not keyword, the build steps are the set difference of straight--build-default-steps and the cdr of the recipe's :build list. e.g. with straight--build-default-steps set to: (autoloads compile native-compile info) and the following recipe: (example :build (:not compile info)) the package is not byte compiled and does not have it's texinfo generated. Steps may be disabled globally via the defcustom variable named straight-disable-SYMBOL. e.g. (setq straight-disable-info t) ;;info generation disabled when :build is not explicitly declared (straight-use-package '(example)) ;;or starts with :not ;;Info disabled in addition to compilation. (straight-use-package '(example :build (:not compile))) In the absence of a :build keyword, straight--build-default-steps are run.
- Loading branch information
Showing
4 changed files
with
371 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.