Add 'Common.toml'

This commit was merged in pull request #1.
This commit is contained in:
2026-07-21 21:20:41 +01:00
parent 813bc4dee8
commit c79fe9e3a6
+24
View File
@@ -0,0 +1,24 @@
# All scripts require that the `cleanup-scripts` folder is available
# Runs all the cleanup-scripts
[tasks.cleanup_script]
workspace = false
run_task = [
{name = ["add_eof_newline", "remove_trailing_whitespaces"]}
]
# Runs the `add_eof_newline` script
[tasks.add_eof_newline]
workspace = false
script = ['''
#!/usr/bin/env bash
./cleanup-scripts/add_eof_newline.sh
''']
# Runs the `remove_trailing_whitespaces` script
[tasks.remove_trailing_whitespaces]
workspace = false
script = ['''
#!/usr/bin/env bash
cleanup-scripts/remove_trailing_whitespaces.sh
''']