-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supports multiple command script sources #249
base: main
Are you sure you want to change the base?
Conversation
@mbland I realize you are currently lacking time to go through the issues/PRs, it would be nice to have some feedback, though, whenever you find the time. |
The error on windows is a strange one. On linux instances, the result of the failing test is I tried to find the cause of this and my finding was that I don't know how to debug this further. As for the failing macos test, I don't have access to a macos installation to try to debug it. |
contribution under the same terms as this project's license, and
that I have the right to license my contribution under those terms.
cc: @mbland
I added support for multiple command script sources by making
_GO_SCRIPTS_DIR
an array. This allows for flexible project structures.My use case
I am using go-script-bash in many project of mine. I have build some scripts and a folder structure that I use in all my projects. But, while working on a project, I add features, fix bugs, etc on this common 'skeleton'. Then, I have to copy stuff around to bring all my projects on par. I would like to have this skeleton as a separate project that I can add as a git submodule. For this to happen, it is needed that go-script-bash supports multiple command script sources. In this case, I would be able to load both the commands from the "skeleton" project and each separate project that is build on top of the "skeleton".