build.sh 655 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env bash
  2. ### Bash Environment Setup
  3. # http://redsymbol.net/articles/unofficial-bash-strict-mode/
  4. # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
  5. # set -o xtrace
  6. set -o errexit
  7. set -o errtrace
  8. set -o nounset
  9. set -o pipefail
  10. IFS=$'\n'
  11. REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
  12. cd "$REPO_DIR"
  13. # pipenv install --dev
  14. # the order matters
  15. ./bin/build_docs.sh
  16. ./bin/build_pip.sh
  17. ./bin/build_deb.sh
  18. ./bin/build_brew.sh
  19. ./bin/build_docker.sh
  20. echo "[√] Done. Install the built package by running:"
  21. echo " python3 setup.py install"
  22. echo " # or"
  23. echo " pip3 install ."