Grab location of script to be position independant #2

Merged
jaby merged 1 commits from topic/jb/update-scripts into main 2026-07-25 12:38:02 +00:00
+2 -2
View File
@@ -12,7 +12,7 @@ run_task = [
workspace = false
script = ['''
#!/usr/bin/env bash
./cleanup-scripts/add_eof_newline.sh
${CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY}/add_eof_newline.sh
''']
# Runs the `remove_trailing_whitespaces` script
@@ -20,5 +20,5 @@ script = ['''
workspace = false
script = ['''
#!/usr/bin/env bash
cleanup-scripts/remove_trailing_whitespaces.sh
${CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY}/remove_trailing_whitespaces.sh
''']