Skip to content

Add standalone base-bash launcher - #98

Merged
codeforester merged 1 commit into
mainfrom
enhancement/97-20260702-standalone-launcher
Jul 3, 2026
Merged

codeforester merged 1 commit into
mainfrom
enhancement/97-20260702-standalone-launcher

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • add bin/base-bash, a standalone launcher for scripts using #!/usr/bin/env base-bash
  • preload lib/bash/std/lib_std.sh, preserve wrapper flag handling, and call a script-defined main
  • add import_base_bash_lib for package-relative companion library imports
  • document source-checkout and Homebrew-style launcher usage

Fixes #97.

Validation

  • bats tests/launcher.bats
  • shellcheck --severity=error bin/base-bash tests/launcher.bats tests/validate.sh
  • ./tests/validate.sh

Release note

The Homebrew tap should install bin/base-bash when the release containing this change is published.

@codeforester
codeforester merged commit 3ce206b into main Jul 3, 2026
2 checks passed
@codeforester
codeforester deleted the enhancement/97-20260702-standalone-launcher branch July 3, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add standalone base-bash-libs launcher

1 participant