-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripts: Move all the generation scripts from pre.sh to generate.sh.
- Loading branch information
1 parent
ab0e63c
commit 7d63230
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 | ||
set -e -x -v -u -o pipefail | ||
|
||
################################################################################ | ||
SCRIPT_DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")") | ||
source "${SCRIPT_DIR}/utilities/common.sh" | ||
|
||
PYTHON_VERSION_PATH=${PWD}/scripts/.python-version \ | ||
VENV_PATH=${PWD}/.cache/scripts/.venv \ | ||
source "${PROJ_PATH}/scripts/utilities/ensure-venv.sh" | ||
PYTHON_VERSION_PATH=${PWD}/scripts/.python-version \ | ||
TOML=${PROJ_PATH}/scripts/pyproject.toml EXTRA=dev \ | ||
DEV_VENV_PATH="${PWD}/.cache/scripts/.venv" \ | ||
TARGET_VENV_PATH="${PWD}/.cache/scripts/.venv" \ | ||
bash "${PROJ_PATH}/scripts/utilities/ensure-reqs.sh" | ||
################################################################################ | ||
|
||
bash scripts/format.sh | ||
bash scripts/run-all-examples.sh | ||
bash scripts/generate-readme.sh | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters