collect_used_procs.sh 264 B

12345678
  1. #!/usr/bin/env bash
  2. set -eux
  3. rm -rf tmp
  4. mkdir -p tmp
  5. yag make --build=relwithdebinfo -tA -C ut -C ../pg_wrapper/ut -C ../pg_wrapper/test -C ../../sql/pg/ut --test-env=YQL_EXPORT_PG_FUNCTIONS_DIR=$(realpath ./tmp)
  6. cat tmp/* | sort | uniq > used_procs.h
  7. rm -rf tmp