Skip to content

Build output to tmp#535

Merged
Chemaclass merged 2 commits intomainfrom
feat/build-output-to-tmp
Dec 5, 2025
Merged

Build output to tmp#535
Chemaclass merged 2 commits intomainfrom
feat/build-output-to-tmp

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

@Chemaclass Chemaclass commented Dec 5, 2025

📚 Description

Decouples the build output from the bin/ folder by using the system temp directory as the default build location.

🔖 Changes

  • Change default build output from bin/ to ${TMPDIR:-/tmp}/bashunit/build
  • Add --cleanup flag to remove build artifacts after completion
  • Make built binary path configurable via BASHUNIT_BUILD_DIR environment variable
  • Update build::verify() to use dynamic build directory for logs/reports
  • Update tests to use configurable build directory path

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix
  • I updated the documentation to reflect the changes

  - Change default build output from bin/ to ${TMPDIR}/bashunit/build
  - Add --cleanup flag to remove build artifacts after completion
  - Make built binary path configurable via BASHUNIT_BUILD_DIR env var
  - Update tests to use configurable build directory path
@Chemaclass Chemaclass added the enhancement New feature or request label Dec 5, 2025
@Chemaclass Chemaclass self-assigned this Dec 5, 2025
@Chemaclass Chemaclass added the enhancement New feature or request label Dec 5, 2025
@Chemaclass Chemaclass merged commit e87556e into main Dec 5, 2025
15 checks passed
@Chemaclass Chemaclass deleted the feat/build-output-to-tmp branch December 5, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant