Grab location of script to be position independant

This commit was merged in pull request #2.
This commit is contained in:
2026-07-24 17:53:49 +01:00
parent c79fe9e3a6
commit 9dd63edf4d
+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
''']