Files
cleanup-scripts/Common.toml
T
2026-07-21 21:20:41 +01:00

24 lines
580 B
TOML

# 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
''']