mbland / go-script-bash

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

Add `new` builtin command to generate scripts, fix latent bugs #168

Closed mbland closed 7 years ago

mbland commented 7 years ago

Closes #142.

The process of testing revealed so much more than just early bugs in the new command script itself. See the commit messages for the gory details, but the highlights are:

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.8%) to 94.477% when pulling f530a603252466db23ed659784b3fccd07130774 on generator into bd8994d94d715e8ed021d4fcb4a764aee0d5c55a on master.

mbland commented 7 years ago

Note that the "decrease" in coverage is because kcov isn't recognizing any of the array assignments in libexec/new as executed code. Coverage of that file is actually 100%, and coverage of the remaining files remains unchanged. Merging.