PROJ_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

# Configuration to build all extensions
# This is used in combination with extension-ci-tools to fake an extension that as as extension_config.cmake the content of
# in-tree and out-of-tree configuration files.
EXT_NAME=all_extensions
EXT_CONFIG=${PROJ_DIR}extension_config.cmake

# Include the Makefile from extension-ci-tools
include extension-ci-tools/makefiles/duckdb_extension.Makefile

configure_ci:
	cd duckdb && BUILD_ALL_EXT=1 make extension_configuration && cp build/extension_configuration/vcpkg.json ../.

test_release:
	python3 duckdb/scripts/run_tests_one_by_one.py ./build/release/test/unittest
