-
-
Save CenTdemeern1/3e01a5dde7758cb5a11829c1ecfc785a to your computer and use it in GitHub Desktop.
Car go space
This file contains 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
#!/bin/bash | |
if [ "$1" == "go" ] | |
then | |
if [ "$2" == "space" ] || [ "$2" == "run" ] || [ "$2" == "fly" ] | |
then | |
cargo run | |
fi | |
if [ "$2" == "road" ] | |
then | |
cargo test | |
fi | |
if [ "$2" == "vroom" ] | |
then | |
cargo build | |
fi | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment