Grab location of script to be position independant
This commit was merged in pull request #2.
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@ run_task = [
|
|||||||
workspace = false
|
workspace = false
|
||||||
script = ['''
|
script = ['''
|
||||||
#!/usr/bin/env bash
|
#!/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
|
# Runs the `remove_trailing_whitespaces` script
|
||||||
@@ -20,5 +20,5 @@ script = ['''
|
|||||||
workspace = false
|
workspace = false
|
||||||
script = ['''
|
script = ['''
|
||||||
#!/usr/bin/env bash
|
#!/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