tree: 962eeae2959ba9b5ad774029ce97b2c2f7e2c301 [path history] [tgz]
  1. hook/
  2. sdk/
  3. shared/
  4. README.md
pkgs/hooks/doc/schema/README.md

These schemas document the protocol for build and link hooks.

  • If you are a hook author, you should likely be using a hook-helper-package Dart API (such as package:native_toolchain_c) instead of directly consuming and producing JSON.
  • If you are a hook-helper-package author, you should likely be using this package's Dart API which abstracts away from syntactic changes. If you do want to directly interact with the JSON, you can find the relevant schemas in hook/.
  • If you are an SDK author, you should likely be using the SDK helper package (package:hooks_runner) which abstracts away from syntactic changes. If you do want to directly interact with the JSON, you can find the relevant schemas in sdk/.

The base hook protocol without any extensions does not provide much use. See the documentation for known extensions: