mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-17 19:31:34 +00:00
* delete dbt-tests-adapter and dbt-postgres from dbt-core * update non-code files to reflect change * add changie * update build-dist.sh * update tox.ini * fix build-dist.sh * move adapter tests into /functional dir * remove adapter unit tests * update code comments and README.md
25 lines
395 B
Bash
Executable File
25 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
DBT_PATH="$( cd "$(dirname "$0")/.." ; pwd -P )"
|
|
|
|
PYTHON_BIN=${PYTHON_BIN:-python}
|
|
|
|
echo "$PYTHON_BIN"
|
|
|
|
set -x
|
|
|
|
rm -rf "$DBT_PATH"/dist
|
|
rm -rf "$DBT_PATH"/build
|
|
mkdir -p "$DBT_PATH"/dist
|
|
|
|
rm -rf "$DBT_PATH"/core/dist
|
|
rm -rf "$DBT_PATH"core/build
|
|
cd "$DBT_PATH"/core
|
|
$PYTHON_BIN setup.py sdist bdist_wheel
|
|
cp -r "$DBT_PATH"/"core"/dist/* "$DBT_PATH"/dist/
|
|
|
|
|
|
set +x
|