| 1 | ---
|
| 2 | default_highlighter: oils-sh
|
| 3 | ---
|
| 4 |
|
| 5 | OSH Standard Library - Based on Years of Experience
|
| 6 | ===========
|
| 7 |
|
| 8 | ## Intro
|
| 9 |
|
| 10 | ### Example of Task File
|
| 11 |
|
| 12 |
|
| 13 | ## List of Libraries
|
| 14 |
|
| 15 | ### bash-strict
|
| 16 |
|
| 17 | Saves you some boilerplate.
|
| 18 |
|
| 19 | ### two
|
| 20 |
|
| 21 | ### no-quotes
|
| 22 |
|
| 23 | ### byo-server
|
| 24 |
|
| 25 | - Test discovery
|
| 26 | - Probably:
|
| 27 | - task discovery
|
| 28 | - auto-completion
|
| 29 |
|
| 30 | ### task-five
|
| 31 |
|
| 32 | Task files
|
| 33 |
|
| 34 | ## Appendix
|
| 35 |
|
| 36 | ### Why no standard way to set `$REPO_ROOT`?
|
| 37 |
|
| 38 | repo-root is left off because different people use different variants:
|
| 39 |
|
| 40 | pwd -P
|
| 41 | readlink -f $0
|
| 42 |
|
| 43 | There is not one way to do it when symlinks are involved. And most of our
|
| 44 | scripts must be run from root, and aren't symlinked.
|