You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
One copy tool for example games instead of one in the editor and one in the engine #298
Which package or tooling is this feature request for?
other
Feature
The editor and the engine each have their own tool to copy example games from a local examples checkout: scripts/examples.mjs here (#295) and scripts/examples.ts in the engine (NanoForge-dev/Engine#516). They find the checkout the same way (--from, NANOFORGE_EXAMPLES, ../examples, a prompt) and copy the same layout, but differ in details (the copy folder, --engine linking here, link: dependencies there) and already drifted once during review (relative paths and --games parsing were fixed in the engine only).
Ideal solution or implementation
One shared copy: in the examples repository itself (a script both repos call), or a small package both use.
Alternative solutions or implementations
Keep both, and list the shared behaviour in both repos' docs so a change to one is made to the other.
Activity