Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 840 Bytes

CONTRIBUTING.MD

File metadata and controls

51 lines (36 loc) · 840 Bytes

Contributing to Rive Code Generator

Cloning

git clone --recurse-submodules https://github.com/rive-app/rive-code-generator-wip

or

git clone https://github.com/rive-app/rive-code-generator-wip
cd rive-code-generator-wip
git submodule update --init --recursive

Build Instructions

Prerequisites

  • CMake (version 3.10 or higher)
  • C++ compiler with C++17 support
  • Rive C++ Runtime library

Building

To build the debug version:

cd build && ./build.sh

For the release version:

cd build && ./build.sh release

The executable will be created in build/out/lib/debug or build/out/lib/release.

Testing

To run the tests:

cd test && ./test.sh

Add additional tests to the test.sh script.

To regenerate the test data:

cd test && ./test.sh --update-expected