Skip to content

Commit

Permalink
deploy: 02eccf6
Browse files Browse the repository at this point in the history
  • Loading branch information
pspiagicw committed Apr 4, 2024
1 parent bc756df commit c3290ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@

<span class="hljs-section">[task.format]</span>
<span class="hljs-attr">command</span> = <span class="hljs-string">"go fmt ./..."</span>
</code></pre><blockquote><p>You can run <code>groom --example-config</code> to get a working example config.</p></blockquote><p><img src="images/help.gif"alt="help"></p><h3 id="list">List<a aria-hidden class="header-link"tabindex="-1"href="#list">#</a></h3><p>Run <code>groom</code> without any arguments to list all configured tasks.</p><blockquote><p>Use <code>--simple</code> to list all tasks without any fancy printing. Useful with scripts.</p></blockquote><p><img src="images/list.gif"alt="list"></p><h3 id="executing-tasks">Executing tasks<a aria-hidden class="header-link"tabindex="-1"href="#executing-tasks">#</a></h3><p>Provide a list of tasks to execute and watch <code>groom</code> execute them!</p><blockquote><p>Use the <code>--dry-run</code> argument to show the log without actually running anything.</p></blockquote><p><img src="images/build.gif"alt="build"></p><h3 id="neovim-plugin">Neovim Plugin<a aria-hidden class="header-link"tabindex="-1"href="#neovim-plugin">#</a></h3><p>A <code>neovim</code> plugin is in the works for integrating <code>groom</code> with Neovim.</p><p>It allows you to run tasks without leaving your editor.</p><blockquote><p>Find it <a href="https://github.com/pspiagicw/groom.nvim"target="_blank"rel="nofollow">here</a></p></blockquote><p><img src="images/plugin.gif"alt="plugin"></p><h2 id="contributing">Contributing<a aria-hidden class="header-link"tabindex="-1"href="#contributing">#</a></h2><p>⭐ Star the project if you like it!</p><p>Feel free to contribute to the project, by either raising a issue or opening a PR.</p><h1 id="changelog">Changelog<a aria-hidden class="header-link"tabindex="-1"href="#changelog">#</a></h1><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/"target="_blank"rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/spec/v2.0.0.html"target="_blank"rel="nofollow">Semantic Versioning</a>.</p><h2 id="unreleasedv002">Unreleased(v0.0.2)<a aria-hidden class="header-link"tabindex="-1"href="#unreleasedv002">#</a></h2><h3 id="added">Added<a aria-hidden class="header-link"tabindex="-1"href="#added">#</a></h3><ul><li>Help Printing.</li><li>Added a <code>--simple</code> flag to task listing.</li><li>Added parent directory recursion. <code>groom</code> now finds <code>groom.toml</code> in the parent directories.</li><li>Created a companion <code>neovim</code> plugin. See <a href="https://github.com/pspiagicw/groom.nvim"target="_blank"rel="nofollow">here</a></li></ul><h3 id="changed">Changed<a aria-hidden class="header-link"tabindex="-1"href="#changed">#</a></h3><ul><li>Moved to <a href="https://github.com/pspiagicw/demp"target="_blank"rel="nofollow"><code>demp</code></a> for dollar templating instead of hideos custom algorithm.</li></ul><h2 id="v001">v0.0.1<a aria-hidden class="header-link"tabindex="-1"href="#v001">#</a></h2><h3 id="added-1">Added<a aria-hidden class="header-link"tabindex="-1"href="#added-1">#</a></h3><ul><li>Added pretty listing of tasks.</li></ul><h3 id="changed-1">Changed<a aria-hidden class="header-link"tabindex="-1"href="#changed-1">#</a></h3><ul><li>Moved location of main.go.</li></ul></div></main><div class="top-bar"data-js="top-bar"><button class="top-bar__menu-toggle-button"data-js="top-bar-menu-toggle-button"><svg class="top-bar__menu-toggle-button-menu-svg"viewBox="0 0 16 16"xmlns="http://www.w3.org/2000/svg"><path fill="currentColor"fill-rule="evenodd"clip-rule="evenodd"d="M0 2.75C0 2.33579.335786 2 .75 2h14.5c.4142 0 .75.33579.75.75s-.3358.75-.75.75H.75C.335786 3.5 0 3.16421 0 2.75zM0 8c0-.41421.335786-.75.75-.75h14.5c.4142 0 .75.33579.75.75s-.3358.75-.75.75H.75C.335786 8.75 0 8.41421 0 8zm.75 4.5c-.414214 0-.75.3358-.75.75s.335786.75.75.75h14.5c.4142 0 .75-.3358.75-.75s-.3358-.75-.75-.75H.75z"/></svg> <svg class="top-bar__menu-toggle-button-close-svg"viewBox="0 0 16 16"xmlns="http://www.w3.org/2000/svg"><path fill="currentColor"fill-rule="evenodd"clip-rule="evenodd"d="M1.28033.21967c-.292893-.2928933-.767767-.2928933-1.06066 0-.2928933.292893-.2928933.767767 0 1.06066L6.93934 8 .21967 14.7197c-.2928933.2929-.2928933.7677 0 1.0606.292893.2929.767767.2929 1.06066 0L8 9.06066l6.7197 6.71964c.2929.2929.7677.2929 1.0606 0 .2929-.2929.2929-.7677 0-1.0606L9.06066 8l6.71964-6.71967c.2929-.292893.2929-.767767 0-1.06066-.2929-.2928933-.7677-.2928933-1.0606 0L8 6.93934 1.28033.21967z"/></svg></button><div class="top-bar__items"><ul><li><a href="#-groom">🧹 <code>groom</code></a></li><li><a href="#changelog">Changelog</a></li></ul></div></div><div class="menu"data-js="menu"><ul><li><a href="#-groom">🧹 <code>groom</code></a><ul><li><a href="#-features">✨ Features</a></li><li><a href="#functionality">Functionality</a><ul><li><a href="#config-file">Config file</a></li><li><a href="#list">List</a></li><li><a href="#executing-tasks">Executing tasks</a></li><li><a href="#neovim-plugin">Neovim Plugin</a></li></ul></li><li><a href="#contributing">Contributing</a></li></ul></li><li><a href="#changelog">Changelog</a><ul><li><a href="#unreleasedv002">Unreleased(v0.0.2)</a><ul><li><a href="#added">Added</a></li><li><a href="#changed">Changed</a></li></ul></li><li><a href="#v001">v0.0.1</a><ul><li><a href="#added-1">Added</a></li><li><a href="#changed-1">Changed</a></li></ul></li></ul></li></ul></div><script>(()=>{"use strict";function t(t,e){for(;null!==t&&!0!==e(t);)t=t.parentElement;return t}function e(t){const{activeClassName:e,contentElement:o,menuElement:i,scrollMarginTopOffset:l,topBarElement:r}=t;function c(){return Array.prototype.slice.call(o.querySelectorAll("[id]"))}function u(){const t=c(),e=t[t.length-1],n=window.innerHeight-(r.offsetHeight+l)-(o.offsetHeight-e.offsetTop);n<0?o.removeAttribute("style"):o.style.paddingBottom=`${n}px`}let s;u(),window.addEventListener("resize",(function(){window.clearTimeout(s),s=window.setTimeout((function(){u()}),200)})),window.addEventListener("scroll",(function(){const t=c(),o=function(t){const{idElements:e,scrollMarginTop:n}=t,o=e.slice().reverse(),i=window.scrollY;for(const t of o)if(t.offsetTop-n-2<=i)return t.getAttribute("id");return null}({idElements:t,scrollMarginTop:r.offsetHeight+l});n({activeClassName:e,element:i,id:o});const u=function(t){const{activeId:e,idElements:n}=t;if(null===e)return null;const o=n.findIndex((function(t){return t.getAttribute("id")===e})),i=n.slice(0,o+1).reverse().find((function(t){return"H1"===t.tagName}));if(void 0!==i)return i.getAttribute("id");const l=n.find((function(t){return"H1"===t.tagName}));if(void 0===l)return null;return l.getAttribute("id")}({activeId:o,idElements:t});n({activeClassName:e,element:r,id:u})}))}function n(t){const{element:e,id:n,activeClassName:o}=t,i=e.querySelector(`.${o}`);if(null!==i&&i.classList.remove(o),null===n)return;const l=e.querySelector(`[href="#${null===n?"":n}"]`);null!==l&&l.classList.add(o)}!function(){const n=document.querySelector('[data-js="content"]'),o=document.querySelector('[data-js="top-bar"]'),i=document.querySelector('[data-js="top-bar-menu-toggle-button"]'),l=document.querySelector('[data-js="top-bar-title-link"]'),r=document.querySelector('[data-js="menu"]');null!==i&&function(e){const{breakpoint:n,topBarMenuToggleButtonElement:o,visibleClassName:i}=e;function l(){document.body.classList.toggle(i)}o.addEventListener("click",l),window.addEventListener("click",(function(e){!1!==document.body.classList.contains(i)&&(window.innerWidth>=n||null===t(e.target,(function(t){return t===o}))&&l())})),window.addEventListener("keydown",(function(t){"Escape"===t.key&&l()}))}({breakpoint:1600,topBarMenuToggleButtonElement:i,visibleClassName:"--menu-visible"}),null!==r&&null!==l&&function(t){const{topBarTitleLinkElement:e,menuElement:n}=t;e.addEventListener("click",(function(t){!0!==t.metaKey&&!0!==t.shiftKey&&(t.preventDefault(),history.pushState("",document.title,`${window.location.pathname}${window.location.search}`),window.scrollTo({top:0}),n.scrollTo({top:0}))}))}({menuElement:r,topBarTitleLinkElement:l}),null!==r&&function(e,n){function o(t){const o=e.querySelector(`[href="${t}"]`);if(null===o)return;const i=o.getBoundingClientRect(),l=null===n?0:n.offsetHeight,r=window.innerHeight;if(i.top>=l&&i.bottom<=r)return;const c=1*window.parseFloat(window.getComputedStyle(document.documentElement).fontSize);e.scrollTo({top:Math.max(0,o.offsetTop-c)})}function i(){const t=window.location.hash;""!==t?o(t):e.scrollTo({top:0})}window.addEventListener("click",(function(n){const i=n.target;if("A"!==i.tagName)return;const l=i.getAttribute("href");null!==l&&null===t(i,(function(t){return t===e}))&&o(l)})),window.addEventListener("popstate",i),i()}(r,o),null!==r&&null!==n&&null!==o&&e({activeClassName:"--scroll-spy-active",contentElement:n,menuElement:r,scrollMarginTopOffset:40,topBarElement:o})}()})();</script></body></html>
</code></pre><blockquote><p>You can run <code>groom --example-config</code> to get a working example config.</p></blockquote><p><img src="images/help.gif"alt="help"></p><h3 id="list">List<a aria-hidden class="header-link"tabindex="-1"href="#list">#</a></h3><p>Run <code>groom</code> without any arguments to list all configured tasks.</p><blockquote><p>Use <code>--simple</code> to list all tasks without any fancy printing. Useful with scripts.</p></blockquote><p><img src="images/list.gif"alt="list"></p><h3 id="executing-tasks">Executing tasks<a aria-hidden class="header-link"tabindex="-1"href="#executing-tasks">#</a></h3><p>Provide a list of tasks to execute and watch <code>groom</code> execute them!</p><blockquote><p>Use the <code>--dry-run</code> argument to show the log without actually running anything.</p></blockquote><p><img src="images/build.gif"alt="build"></p><h3 id="neovim-plugin">Neovim Plugin<a aria-hidden class="header-link"tabindex="-1"href="#neovim-plugin">#</a></h3><p>A <code>neovim</code> plugin is in the works for integrating <code>groom</code> with Neovim.</p><p>It allows you to run tasks without leaving your editor.</p><blockquote><p>Find it <a href="https://github.com/pspiagicw/groom.nvim"target="_blank"rel="nofollow">here</a></p></blockquote><p><img src="images/plugin.gif"alt="plugin"></p><h2 id="contributing">Contributing<a aria-hidden class="header-link"tabindex="-1"href="#contributing">#</a></h2><p>⭐ Star the project if you like it!</p><p>Feel free to contribute to the project, by either raising a issue or opening a PR.</p><h1 id="changelog">Changelog<a aria-hidden class="header-link"tabindex="-1"href="#changelog">#</a></h1><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/"target="_blank"rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/spec/v2.0.0.html"target="_blank"rel="nofollow">Semantic Versioning</a>.</p><h2 id="unreleasedv002">Unreleased(v0.0.2)<a aria-hidden class="header-link"tabindex="-1"href="#unreleasedv002">#</a></h2><h3 id="added">Added<a aria-hidden class="header-link"tabindex="-1"href="#added">#</a></h3><ul><li>Help Printing.</li><li>Added a <code>--simple</code> flag to task listing.</li><li>Added parent directory recursion. <code>groom</code> now finds <code>groom.toml</code> in the parent directories.</li><li>Created a companion <code>neovim</code> plugin. See <a href="https://github.com/pspiagicw/groom.nvim"target="_blank"rel="nofollow">here</a></li></ul><h3 id="changed">Changed<a aria-hidden class="header-link"tabindex="-1"href="#changed">#</a></h3><ul><li>Moved to <a href="https://github.com/pspiagicw/demp"target="_blank"rel="nofollow"><code>demp</code></a> for dollar templating instead of hideos custom algorithm.</li><li>Moved to <a href="https://github.com/buildkite/shellwords"target="_blank"rel="nofollow">'shellwords'</a> for splitting shell commands instead of custom algorithm.</li></ul><h2 id="v001">v0.0.1<a aria-hidden class="header-link"tabindex="-1"href="#v001">#</a></h2><h3 id="added-1">Added<a aria-hidden class="header-link"tabindex="-1"href="#added-1">#</a></h3><ul><li>Added pretty listing of tasks.</li></ul><h3 id="changed-1">Changed<a aria-hidden class="header-link"tabindex="-1"href="#changed-1">#</a></h3><ul><li>Moved location of main.go.</li></ul></div></main><div class="top-bar"data-js="top-bar"><button class="top-bar__menu-toggle-button"data-js="top-bar-menu-toggle-button"><svg class="top-bar__menu-toggle-button-menu-svg"viewBox="0 0 16 16"xmlns="http://www.w3.org/2000/svg"><path fill="currentColor"fill-rule="evenodd"clip-rule="evenodd"d="M0 2.75C0 2.33579.335786 2 .75 2h14.5c.4142 0 .75.33579.75.75s-.3358.75-.75.75H.75C.335786 3.5 0 3.16421 0 2.75zM0 8c0-.41421.335786-.75.75-.75h14.5c.4142 0 .75.33579.75.75s-.3358.75-.75.75H.75C.335786 8.75 0 8.41421 0 8zm.75 4.5c-.414214 0-.75.3358-.75.75s.335786.75.75.75h14.5c.4142 0 .75-.3358.75-.75s-.3358-.75-.75-.75H.75z"/></svg> <svg class="top-bar__menu-toggle-button-close-svg"viewBox="0 0 16 16"xmlns="http://www.w3.org/2000/svg"><path fill="currentColor"fill-rule="evenodd"clip-rule="evenodd"d="M1.28033.21967c-.292893-.2928933-.767767-.2928933-1.06066 0-.2928933.292893-.2928933.767767 0 1.06066L6.93934 8 .21967 14.7197c-.2928933.2929-.2928933.7677 0 1.0606.292893.2929.767767.2929 1.06066 0L8 9.06066l6.7197 6.71964c.2929.2929.7677.2929 1.0606 0 .2929-.2929.2929-.7677 0-1.0606L9.06066 8l6.71964-6.71967c.2929-.292893.2929-.767767 0-1.06066-.2929-.2928933-.7677-.2928933-1.0606 0L8 6.93934 1.28033.21967z"/></svg></button><div class="top-bar__items"><ul><li><a href="#-groom">🧹 <code>groom</code></a></li><li><a href="#changelog">Changelog</a></li></ul></div></div><div class="menu"data-js="menu"><ul><li><a href="#-groom">🧹 <code>groom</code></a><ul><li><a href="#-features">✨ Features</a></li><li><a href="#functionality">Functionality</a><ul><li><a href="#config-file">Config file</a></li><li><a href="#list">List</a></li><li><a href="#executing-tasks">Executing tasks</a></li><li><a href="#neovim-plugin">Neovim Plugin</a></li></ul></li><li><a href="#contributing">Contributing</a></li></ul></li><li><a href="#changelog">Changelog</a><ul><li><a href="#unreleasedv002">Unreleased(v0.0.2)</a><ul><li><a href="#added">Added</a></li><li><a href="#changed">Changed</a></li></ul></li><li><a href="#v001">v0.0.1</a><ul><li><a href="#added-1">Added</a></li><li><a href="#changed-1">Changed</a></li></ul></li></ul></li></ul></div><script>(()=>{"use strict";function t(t,e){for(;null!==t&&!0!==e(t);)t=t.parentElement;return t}function e(t){const{activeClassName:e,contentElement:o,menuElement:i,scrollMarginTopOffset:l,topBarElement:r}=t;function c(){return Array.prototype.slice.call(o.querySelectorAll("[id]"))}function u(){const t=c(),e=t[t.length-1],n=window.innerHeight-(r.offsetHeight+l)-(o.offsetHeight-e.offsetTop);n<0?o.removeAttribute("style"):o.style.paddingBottom=`${n}px`}let s;u(),window.addEventListener("resize",(function(){window.clearTimeout(s),s=window.setTimeout((function(){u()}),200)})),window.addEventListener("scroll",(function(){const t=c(),o=function(t){const{idElements:e,scrollMarginTop:n}=t,o=e.slice().reverse(),i=window.scrollY;for(const t of o)if(t.offsetTop-n-2<=i)return t.getAttribute("id");return null}({idElements:t,scrollMarginTop:r.offsetHeight+l});n({activeClassName:e,element:i,id:o});const u=function(t){const{activeId:e,idElements:n}=t;if(null===e)return null;const o=n.findIndex((function(t){return t.getAttribute("id")===e})),i=n.slice(0,o+1).reverse().find((function(t){return"H1"===t.tagName}));if(void 0!==i)return i.getAttribute("id");const l=n.find((function(t){return"H1"===t.tagName}));if(void 0===l)return null;return l.getAttribute("id")}({activeId:o,idElements:t});n({activeClassName:e,element:r,id:u})}))}function n(t){const{element:e,id:n,activeClassName:o}=t,i=e.querySelector(`.${o}`);if(null!==i&&i.classList.remove(o),null===n)return;const l=e.querySelector(`[href="#${null===n?"":n}"]`);null!==l&&l.classList.add(o)}!function(){const n=document.querySelector('[data-js="content"]'),o=document.querySelector('[data-js="top-bar"]'),i=document.querySelector('[data-js="top-bar-menu-toggle-button"]'),l=document.querySelector('[data-js="top-bar-title-link"]'),r=document.querySelector('[data-js="menu"]');null!==i&&function(e){const{breakpoint:n,topBarMenuToggleButtonElement:o,visibleClassName:i}=e;function l(){document.body.classList.toggle(i)}o.addEventListener("click",l),window.addEventListener("click",(function(e){!1!==document.body.classList.contains(i)&&(window.innerWidth>=n||null===t(e.target,(function(t){return t===o}))&&l())})),window.addEventListener("keydown",(function(t){"Escape"===t.key&&l()}))}({breakpoint:1600,topBarMenuToggleButtonElement:i,visibleClassName:"--menu-visible"}),null!==r&&null!==l&&function(t){const{topBarTitleLinkElement:e,menuElement:n}=t;e.addEventListener("click",(function(t){!0!==t.metaKey&&!0!==t.shiftKey&&(t.preventDefault(),history.pushState("",document.title,`${window.location.pathname}${window.location.search}`),window.scrollTo({top:0}),n.scrollTo({top:0}))}))}({menuElement:r,topBarTitleLinkElement:l}),null!==r&&function(e,n){function o(t){const o=e.querySelector(`[href="${t}"]`);if(null===o)return;const i=o.getBoundingClientRect(),l=null===n?0:n.offsetHeight,r=window.innerHeight;if(i.top>=l&&i.bottom<=r)return;const c=1*window.parseFloat(window.getComputedStyle(document.documentElement).fontSize);e.scrollTo({top:Math.max(0,o.offsetTop-c)})}function i(){const t=window.location.hash;""!==t?o(t):e.scrollTo({top:0})}window.addEventListener("click",(function(n){const i=n.target;if("A"!==i.tagName)return;const l=i.getAttribute("href");null!==l&&null===t(i,(function(t){return t===e}))&&o(l)})),window.addEventListener("popstate",i),i()}(r,o),null!==r&&null!==n&&null!==o&&e({activeClassName:"--scroll-spy-active",contentElement:n,menuElement:r,scrollMarginTopOffset:40,topBarElement:o})}()})();</script></body></html>

0 comments on commit c3290ac

Please sign in to comment.