Created
August 21, 2018 14:47
-
-
Save elalemanyo/bb1bbe7d3e45c16bd2876c2e394002a2 to your computer and use it in GitHub Desktop.
Run line "starting with" inside travis.yml
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 characters
travis() { | |
command=$(grep -oP "(?<=- )$1.*" .travis.yml); | |
echo -e "\e[1;32mRunning: $command\e[0m\n"; | |
eval $command; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple function to run line "starting with" inside your project
.travis.yml
file.Run:
travis css-lint