diff --git a/Common.toml b/Common.toml new file mode 100644 index 0000000..47eed09 --- /dev/null +++ b/Common.toml @@ -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 +'''] \ No newline at end of file