Add installed project creation and native/web starter commands - #171
Draft
proggeramlug wants to merge 1 commit into
Draft
Add installed project creation and native/web starter commands#171proggeramlug wants to merge 1 commit into
proggeramlug wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New projects currently require manual compiler commands, native-library permissions and separate web serving steps. Add a packaged
bloomcommand for project creation, host-native build/run, and web build/serve from the same TypeScript template, with an asset example and separate init/update/draw/cleanup functions.bloom newcarries the exact engine package into the project as.bloom/engine.tgz, then installs it. This prevents a draft archive at version 0.4.16 from accidentally selecting the older registry release with the same version. It writes compatible Bloom/Perry metadata and native-library permissions, preserves existing directories, and rejects incompatible projects, missing tools and unsupported targets. Windows can prepare/reuse the existing pinned compiler/runtime helper; web serving binds localhost and uses an asset prefetch manifest.Local validation: a fresh installed CLI creates a project and builds the unmodified native template (270.360 seconds). Its
npm startpath builds/runs a bounded copy (10.141 seconds), renders the 800x450 greeting and square, reads the asset and cleans up once on Radeon DX12. Restoring the unmodified source completes the full web build (63.765 seconds). A separate fresh-package check passes default creation without the explicit archive option, verifies installed sources and rejects missing compiler/unsupported target controls. Cached managed toolchain validation also passes.Five behavioral tests and repository/package/FFI contracts pass. Add required Windows installed-package creation evidence to CI. Native runtime tests use a qualified existing Perry profile, headless rendering and SDK shader DLLs on PATH. Visible native presentation, actual compiled-starter browser rendering, macOS/Linux starter runtime, fresh-machine setup through this CLI, fixed updates, hot reload and distributable shader runtimes remain open. This draft does not release npm 0.5 or close the full starter issue.
Stacked on #170; relates to #142, #74 and #145. Hosted Tests run 34565911332 passes all 22 jobs, including fresh installed default creation and its negative controls. The PR head and hosted checkout have identical Git trees. The minimal compiled-game browser check also passes; full starter browser rendering remains unqualified. The draft usage and validation scope are documented in
docs/starter.mdanddocs/evidence/windows-starter-cli-v1.md.Published report and evidence retain local native/web builds, default-creation controls, the greeting capture, exact final source and successful hosted results. ZIP SHA-256:
8051a5bb6df184b611fc03b9be94c7f81c664a3e70d9fede12b38ca97a27f678.