mbland / go-script-bash

Framework for writing modular, discoverable, testable Bash scripts
ISC License
96 stars 16 forks source link

Create public lib/existence module, fix `new --test`, update `demo-core prompt` #171

Closed mbland closed 7 years ago

mbland commented 7 years ago

Closes #148. This is the last bit of functionality migrated from https://github.com/mbland/certbot-webroot-setup, providing a standard means of checking for file and command existence and reporting errors.

Also removes and documents an unreachable failure case in demo-core prompt, fixes the load environment line for new --test for tests created at the top level of _GO_TEST_DIR, and updates a misnamed test case in tests/new.bats.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 94.603% when pulling f495845abdd21bceeb775d5fa89e584f90c17fb3 on existence into 151342891888baa771deffcbe0a8b29a60821eb9 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 94.603% when pulling 5ba9f304f356b142c74275237682150ce9b8e05c on existence into 151342891888baa771deffcbe0a8b29a60821eb9 on master.