Skip to content

Support CF invoke with 2 args#4

Merged
nickchecan merged 1 commit intomainfrom
fix-compile
Apr 9, 2026
Merged

Support CF invoke with 2 args#4
nickchecan merged 1 commit intomainfrom
fix-compile

Conversation

@nickchecan
Copy link
Copy Markdown
Owner

This pull request adds a new test to ensure the compile script supports being invoked with only two arguments, which is a common usage pattern in Cloud Foundry environments. The main changes include the introduction of a new helper function for this test and the addition of the test case to the test suite.

Support for two-argument invocation:

  • Added the run_compile_without_env_dir helper function to invoke the compile script without the ENV_DIR argument.
  • Introduced the test_compile_accepts_two_argument_cf_invocation test to verify that the script works correctly when called with only a build and cache directory, and that it provides the expected output.
  • Registered the new test in the test suite to ensure it is executed.

@nickchecan nickchecan merged commit 5326a69 into main Apr 9, 2026
2 checks passed
@nickchecan nickchecan deleted the fix-compile branch April 9, 2026 16:19
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

🎉 This PR is included in version 1.0.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant