Grab location of script to be position independant #2
+2
-2
@@ -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
|
||||
''']
|
||||
Reference in New Issue
Block a user