Skip to content

Commit

Permalink
Merge pull request #33 from ttanay/remove-template-test
Browse files Browse the repository at this point in the history
Remove ExtensionTemplate.yml in template repos
  • Loading branch information
samansmink authored Sep 26, 2023
2 parents 61b135a + ae2192b commit acca595
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ExtensionTemplate.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions scripts/set_extension_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit acca595

Please sign in to comment.