Make `presubmit.sh` work from `.fuchsia` directory

The current script failed to enter the 'web' directory.
Also use `set -i` to exit of first failure in a more readable way.

Change-Id: I1c752abc87f7a5b6312b539208b2bb8b4333986a
1 file changed
tree: 38c127849ffd801961c6caa8c26bfcb19e6cb57c
  1. .cargo/
  2. assets/
  3. benches/
  4. demo/
  5. gpu/
  6. pristine/
  7. web/
  8. .gitignore
  9. AUTHORS
  10. Cargo.toml
  11. clone.sh
  12. CONTRIBUTING.md
  13. LICENSE
  14. PATENTS
  15. presubmit.sh
  16. README.md
README.md

forma. The parallel CPU vector renderer

forma is a highly efficient vector content renderer that makes use of all processor cores and vector units.

Getting started

Requirements:

Clone the forma repositories from Fuchsia by running:

./clone.sh

Build the demo:

RUSFTLAGS="-C target-cpu=native" cargo build --release

Then run:

./target/release/demo rive assets/rive/juice.riv