| commit | c1513c88966408b8df6d261276976e6820d4cd64 | [log] [tgz] |
|---|---|---|
| author | Patrick Williams <patrick@stwcx.xyz> | Sun Nov 27 17:37:08 2022 -0600 |
| committer | Patrick Williams <patrick@stwcx.xyz> | Tue Nov 29 12:26:36 2022 -0600 |
| tree | 0c95305568914e4b1845fb334ef451c7fe16fdb9 | |
| parent | 38515a37856448161852c20f22f11c9273afcb78 [diff] |
format-code: improve script ergonomics
- Add getopt and help-text.
- Default to `pwd` for repository.
- Utilize `git rev-parse` to find repo-root if ran from subdir.
- Find default config directory using `${BASH_SOURCE[0]}`.
- Improve and colorize logging.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I925b17f65fe817d30a0932954761d3849e27a8ea
Build script for CI jobs in Jenkins.