gen-acpg-now.sh 473 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. # more info see https://github.com/BoD/android-contentprovider-generator/blob/master/sample-app/etc/acpg/person.json
  3. out_path="../src/main/java/"
  4. out_full_package_path=${out_path}"com/kfzs/duanduan/data/graph/provider"
  5. if [ -d ${out_full_package_path} ]; then
  6. rm -rf ${out_full_package_path}
  7. sleep 2
  8. echo "remove old out finish!"
  9. fi
  10. run_shell_path=$(cd `dirname $0`; pwd)
  11. ${run_shell_path}/acpg-cli.sh -i ${run_shell_path} -o ${out_path}