Skip to content

Conversation

HayesGordon
Copy link
Contributor

No description provided.

@HayesGordon HayesGordon requested review from Copilot and removed request for Copilot June 16, 2025 17:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds data binding support by generating ViewModel classes in Dart and extending the JSON template to include enums and view models. It also updates the build tooling and documentation to accommodate the new code‐generation features.

  • Introduce viewmodel_template.mustache for Dart ViewModel class generation
  • Extend json_template.mustache to include enums and viewModels sections
  • Revamp build.sh (plus associated build scripts) for better flag parsing, multi-OS support, and stricter error handling

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
templates/viewmodel_template.mustache New Mustache template for generating Dart view models
templates/json_template.mustache Add enums and viewModels to JSON output template
build/premake5_code_generator.lua Trim unused links and add VS build filter
build/build.sh Migrate to bash, enhance flags, multi-platform logic
build/build.ps1 Simple wrapper to invoke build.sh on Windows
README.md Document new enums and viewModels template variables
.clang-format Add project C/C++/ObjC formatting configuration
rive-runtime Bump submodule commit for runtime updates

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