Last active
June 18, 2020 12:47
-
-
Save timonweb/b70467935c6f666cacab67ea4bdea61b to your computer and use it in GitHub Desktop.
Revisions
-
timonweb revised this gist
Jun 18, 2020 . No changes.There are no files selected for viewing
-
timonweb revised this gist
Jun 18, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/bin/sh # # One line installer: # sudo curl https://gist.github.com/timonweb/b70467935c6f666cacab67ea4bdea61b/raw/d6e32a5b5a8ddca2d78e2fb55af8a0b6320b9835/tasks.sh -o /usr/local/bin/tasks && sudo chmod +x /usr/local/bin/tasks tasksfile_path=0 while [[ "`pwd`" != '/' ]]; do -
timonweb revised this gist
Jun 18, 2020 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,20 @@ #!/bin/sh # # One line installer: # sudo curl https://gist.github.com/timonweb/b70467935c6f666cacab67ea4bdea61b/raw/d45959ffd06da9b2e42472976d5f12c78a0fff7a/tasks.sh -o /usr/local/bin/tasks && sudo chmod +x /usr/local/bin/tasks tasksfile_path=0 while [[ "`pwd`" != '/' ]]; do tasksfile_path=$(find $(pwd) -type f -name "Tasksfile" -print | head -n 1) if [[ -n $tasksfile_path ]]; then echo "Running 'tasks $@' command:" sh $tasksfile_path $@ break else cd .. fi done if [[ tasksfile_path == 0 ]]; then echo 'Cant find Tasksfile' fi -
timonweb revised this gist
Jun 18, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/sh # # One line installer: sudo curl https://gist.github.com/timonweb/b70467935c6f666cacab67ea4bdea61b/raw/d45959ffd06da9b2e42472976d5f12c78a0fff7a/tasks.sh -o /usr/local/bin/tasks && sudo chmod +x /usr/local/bin/tasks tasks_path=0 while [[ "`pwd`" != '/' ]]; do -
timonweb renamed this gist
Jun 18, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
timonweb created this gist
Jun 18, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/bin/sh # # One line installer: tasks_path=0 while [[ "`pwd`" != '/' ]]; do tasks_path=$(find $(pwd) -type f -name "tasks" -print | head -n 1) if [[ -n $tasks_path ]]; then echo "Running 'tasks $@' command:" sh $tasks_path $@ break else cd .. fi done if [[ tasks_path == 0 ]]; then echo 'Cant find tasks' fi