diff --git a/scripts/check b/scripts/check new file mode 100755 index 0000000..c4c775a --- /dev/null +++ b/scripts/check @@ -0,0 +1,5 @@ +#! /bin/bash -ex + +black --check --diff tests anysqlite +ruff tests anysqlite +mypy tests anysqlite \ No newline at end of file diff --git a/scripts/install b/scripts/install new file mode 100755 index 0000000..8c5caeb --- /dev/null +++ b/scripts/install @@ -0,0 +1,9 @@ +#! /bin/bash -x + +rm -rf venv +python -m venv venv + +source venv/bin/activate + +pip install --upgrade pip +pip install -r requirements.txt \ No newline at end of file diff --git a/scripts/lint b/scripts/lint new file mode 100755 index 0000000..515a33e --- /dev/null +++ b/scripts/lint @@ -0,0 +1,4 @@ +#! /bin/bash -ex + +black anysqlite tests +ruff --fix anysqlite tests diff --git a/scripts/publish b/scripts/publish new file mode 100755 index 0000000..0d29adf --- /dev/null +++ b/scripts/publish @@ -0,0 +1,3 @@ +#! /bin/bash -ex + +hatch publish -u __token__ -a $ANYSQLITE_PYPI diff --git a/scripts/publish-docs b/scripts/publish-docs new file mode 100755 index 0000000..a6a0569 --- /dev/null +++ b/scripts/publish-docs @@ -0,0 +1,3 @@ +#! /bin/bash -ex + +mkdocs gh-deploy --force diff --git a/scripts/test b/scripts/test new file mode 100755 index 0000000..83fb54d --- /dev/null +++ b/scripts/test @@ -0,0 +1,5 @@ +#! /bin/bash -e +set -x + +./scripts/check +pytest tests \ No newline at end of file