-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Public API: - Rename `run` option to `build`. - Rename `PaqRunHook` command to `PaqBuild`. Paq will print a deprecation notice if the old names are used. The reason for renaming these is explained in #143. Internals: - Refactor build related functions to ensure builds are executed after all packages have been installed/updated and loaded: - If the hook is a function, it might require a module inside a recently installed package. - If a is package is installed successfully and the build fails, it's better to notify that in two separate messages, instead of notifying the install failed. - Rename `run_hook` to `run_build`, and refactor to make it clear there's 3 possible cases: function, ex command, shell commmand. - Refactor `new_counter` to take a callback (passed in `exe_op`).
- Loading branch information
Showing
3 changed files
with
112 additions
and
88 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
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
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