diff --git a/.github/workflows/ExtensionTemplate.yml b/.github/workflows/ExtensionTemplate.yml index 944071f..bae5b5a 100644 --- a/.github/workflows/ExtensionTemplate.yml +++ b/.github/workflows/ExtensionTemplate.yml @@ -1,5 +1,6 @@ # -# NOTE: this workflow is for testing the extension template itself, this workflow should be removed in your extension +# NOTE: this workflow is for testing the extension template itself, +# this workflow will be removed when scripts/set_extension_name.py is run # name: Extension Template diff --git a/scripts/set_extension_name.py b/scripts/set_extension_name.py index 397e53a..beeb856 100755 --- a/scripts/set_extension_name.py +++ b/scripts/set_extension_name.py @@ -51,3 +51,6 @@ def replace_everywhere(to_find, to_replace): os.rename(f'src/{string_to_find}_extension.cpp', f'src/{string_to_replace}_extension.cpp') os.rename(f'src/include/{string_to_find}_extension.hpp', f'src/include/{string_to_replace}_extension.hpp') os.rename(f'test/nodejs/{string_to_find}_test.js', f'test/nodejs/{string_to_replace}_test.js') + +# remove template-specific files +os.remove('.github/workflows/ExtensionTemplate.yml') \ No newline at end of file