Skip to content

Add build hooks for before/after actions#198

Merged
eelcoj merged 1 commit into
mainfrom
around-build-hooks
Jun 6, 2026
Merged

Add build hooks for before/after actions#198
eelcoj merged 1 commit into
mainfrom
around-build-hooks

Conversation

@eelcoj

@eelcoj eelcoj commented May 20, 2026

Copy link
Copy Markdown
Contributor

Configure before_build and after_build callbacks to run logic before/after the build process.

Perron.configure do |config|
  config.before_build = ->(context) {
    # do whatever before build
  }

  config.after_build = ->(context) {
    # do whatever after build succeeded
  }
end

Configure `before_build` and `after_build` callbacks to run logic before/after the build process.
```ruby
Perron.configure do |config|
  config.before_build = ->(context) {
    # do whatever before build
  }

  config.after_build = ->(context) {
    # do whatever after build succeeded
  }
end
```
@eelcoj eelcoj merged commit a98b841 into main Jun 6, 2026
0 of 3 checks passed
@eelcoj eelcoj deleted the around-build-hooks branch June 6, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant