diff --git a/bin/post-generation-hook.sh b/bin/post-generation-hook.sh index 4e89c606..c624a552 100755 --- a/bin/post-generation-hook.sh +++ b/bin/post-generation-hook.sh @@ -2,7 +2,7 @@ SCRIPT_DIR=$(dirname "$0") PROJECT_ROOT=$(realpath "${SCRIPT_DIR}/..") # expects script in bin/ -PATH=${PROJECT_ROOT}/venv/bin:$PATH # expects python environment in venv/ +PATH=${PROJECT_ROOT}/venv/Scripts:$PATH # expects python environment in venv/ command -v black >/dev/null 2>&1 || { echo >&2 "'black' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; } command -v flake8 >/dev/null 2>&1 || { echo >&2 "'flake8' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; } cd "${PROJECT_ROOT}" && black xero_python && flake8 xero_python diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index 9e5deb5a..f2b551b5 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -6008,7 +6008,7 @@