diff --git a/scripts/bootstrap-template.py b/scripts/bootstrap-template.py index d759b52..8f78fec 100755 --- a/scripts/bootstrap-template.py +++ b/scripts/bootstrap-template.py @@ -39,6 +39,7 @@ def replace_everywhere(to_find, to_replace): replace("./Makefile", to_find.upper(), to_replace.upper()) replace("./README.md", to_find, to_replace) replace("./extension_config.cmake", to_find, to_replace) + replace("./scripts/setup-custom-toolchain.sh", to_find, to_replace) if __name__ == "__main__": diff --git a/scripts/setup-custom-toolchain.sh b/scripts/setup-custom-toolchain.sh new file mode 100644 index 0000000..4a846fc --- /dev/null +++ b/scripts/setup-custom-toolchain.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# This is an example script that can be used to install additional toolchain dependencies. Feel free to remove this script +# if no additional toolchains are required + +# To enable this script, set the `custom_toolchain_script` option to true when calling the reusable workflow +# `.github/workflows/_extension_distribution.yml` from `https://github.com/duckdb/extension-ci-tools` + +# note that the $DUCKDB_PLATFORM environment variable can be used to discern between the platforms +echo "This is the sample custom toolchain script running for architecture '$DUCKDB_PLATFORM' for the quack extension." +