gen_testdata.sh 349 B

1234567891011
  1. #!/usr/bin/env bash
  2. cd programs/idl
  3. anchor idl parse --file src/lib.rs -o ../../tests/testdata/idl_parse_exp.json
  4. anchor idl build -o ../../tests/testdata/idl_build_exp.json
  5. cd ../generics
  6. anchor idl build -o ../../tests/testdata/generics_build_exp.json
  7. cd ../relations-derivation
  8. anchor idl build -o ../../tests/testdata/relations_build_exp.json