cehteh<p>cehgit is dead .. BAsh Rules! 🎉 </p><p>Last year I created with my own 'pre-commit' script. This worked but doesn't scale well. I eyed 'just' but it lacks some features I really wish for.</p><p>Hold my 🍺! Here comes 'bar'. A rule evaluation engine on top of bash. Still WIP'ish but it is useable now.</p><p><a href="https://seed.pipapo.org/nodes/seed.pipapo.org/rad:z3WhBdHt1VVNyeQ61zpY66pNzuSrP/tree/README" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">seed.pipapo.org/nodes/seed.pip</span><span class="invisible">apo.org/rad:z3WhBdHt1VVNyeQ61zpY66pNzuSrP/tree/README</span></a></p><p>Notable/opinionated features include:<br>* Rules can have multiple clauses<br>* Clauses can be conditionally skipped<br>* githooks run in dedicated directories, no stashing/changes to your worktree.<br>* Build artifacts are cached/reused <br>* Expensive work can be scheduled to the background. Tests run while you type the commit message.</p><p>* It has a second personality called 'please'. So you can do things like 'please update_radicle' on the comandline.</p><p><a href="https://social.tchncs.de/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://social.tchncs.de/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://social.tchncs.de/tags/rules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rules</span></a> <a href="https://social.tchncs.de/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://social.tchncs.de/tags/cargo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cargo</span></a></p>