Comments (3)
@qgadrian looks good, I noticed a few typos on the spelling of success
. I did attempt to open a PR myself, but I don't think I have the right permissions
linking to line of code below:
- https://github.com/qgadrian/elixir_git_hooks/blob/master/README.md?plain=1#L213
- https://github.com/qgadrian/elixir_git_hooks/blob/master/lib/config.ex#L72-L74
- https://github.com/qgadrian/elixir_git_hooks/blob/master/lib/tasks/mix.ex#L64 (
@success_results
andextra_success_results()
) - https://github.com/qgadrian/elixir_git_hooks/blob/master/lib/tasks/mix.ex#L85 (
@success_results
) - https://github.com/qgadrian/elixir_git_hooks/blob/master/lib/tasks/mix.ex#L90
from elixir_git_hooks.
@rt-chang thanks for the report! I added a new config extra_sucess_returns
so you can setup custom return values from your mix tasks. Will be available in the next release.
I decided this library to not support by default {:noop, []}
to be more transparent in the project configuration :/
from elixir_git_hooks.
feature released in https://github.com/qgadrian/elixir_git_hooks/releases/tag/v0.7.3
from elixir_git_hooks.
Related Issues (20)
- With older git returns an error HOT 2
- Don't run the hook when nothing in the project root has changed HOT 1
- 0.6.5 release HOT 2
- Add support to mix tasks results HOT 1
- Compilation error when export `deps_path` is set HOT 13
- mono-repo with multiple applications HOT 5
- git_hooks.run not found HOT 1
- Pre commit/push hooks fail in the latest version HOT 13
- Document how to override the MIX_ENV when running hooks HOT 5
- feature request: allow tasks to be configured to run in parallel HOT 1
- Confusion after rebuilding dependencies until git_hooks.install HOT 7
- Seeing please ensure :git_hooks exists or remove the configuration. HOT 2
- Using && within a :cmd appears to be a problem?
- Couldn't find git_hooks.db file HOT 1
- Cut a new release with updated dependencies HOT 2
- Pre-commit hook appears execute after commit has taken place HOT 10
- [Feature request] overriding the git hook so that we can make it run mix tasks inside of docker compose HOT 6
- Configurability to run hooks only on a certain branch HOT 1
- Invalid hook path and script when using git_path HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir_git_hooks.