The last tag before this refresh is v0.1.1. Please reference that tag for the previous code.
TODO: Usage documentation
Prerequisites:
- Ruby >= 3.1 (i.e.
ruby
andbundle
on thePATH
) - Rust latest stable (i.e.
cargo
on thePATH
) - Protobuf Compiler (i.e.
protoc
on thePATH
) - This repository, cloned recursively
- Change to the
temporalio/
directory
To build shared library for development use:
bundle exec rake compile
Note, this is not compile:dev
because debug-mode in Rust has
an issue that causes runtime stack size problems.
To lint, build, and test release:
bundle exec rake
This project uses minitest
. To test:
bundle exec rake test
Can add options via TESTOPTS
. E.g. single test:
bundle exec rake test TESTOPTS="--name=test_start_workflows_async"
This project uses rubocop
:
bundle exec rake rubocop:autocorrect
This project uses steep
. First may need the RBS collection:
bundle exec rake rbs:install_collection
Now can run steep
:
bundle exec rake steep
Run:
bundle exec rake proto:generate