Skip to content

Move all local build logic into a callable function.#403

Merged
annajowang merged 4 commits intomainfrom
buildsschema
Sep 23, 2025
Merged

Move all local build logic into a callable function.#403
annajowang merged 4 commits intomainfrom
buildsschema

Conversation

@annajowang
Copy link
Copy Markdown
Collaborator

@annajowang annajowang commented Sep 22, 2025

Move ALL logic into a callable function also return the build output

@annajowang annajowang changed the title Move all logic into a callable function. Move all local build logic into a callable function. Sep 22, 2025
if (!existsSync(bundleYamlPath)) {
throw new Error(`Cannot load ${bundleYamlPath} from given path, it doesn't exist`);
}
return parseYaml(readFileSync(bundleYamlPath, "utf8")) as OutputBundleConfig;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious what is the reason for adding parse bundle.yaml as OutputBundleConfig here, how is it going to be used?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CLI will call it and use it to make the right apphosting createBuild and createRollout calls

@annajowang annajowang merged commit 8eb0113 into main Sep 23, 2025
10 of 11 checks passed
richwear1307 pushed a commit to richwear1307/horse-tipping-app that referenced this pull request Feb 27, 2026
Move all local build logic into a callable function
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.

2 participants