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
| #adding glide to gvm | |
| gvm flush candidates | |
| source ~/.gvm/bin/gvm-init.sh | |
| gvm install glide |
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
| #ensure internet is reachable | |
| $ gvm flush candidates | |
| #open a new terminal now | |
| $ gvm install gaiden | |
| $ gaiden | |
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
| $ gvm flush candidates | |
| #open a new terminal now | |
| $ gvm install springboot | |
| $ spring --version | |
| #have fun |
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
| #!/bin/bash | |
| function printit { | |
| echo "This is from an embedded function: $1" | |
| } | |
| function printthat { | |
| echo "This is the first line." | |
| $1 $2 | |
| echo "This is the third line." |
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
| gvm selfupdate && source ~/.gvm/bin/gvm-init.sh |
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
| export GVM_SERVICE="http://dev.gvmtool.net" && gvm selfupdate |
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
| gvm install groovy |
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
| export GVM_SERVICE="http://dev.gvmtool.net" && gvm selfupdate |
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
| export GVM_SERVICE="http://beta.gvmtool.net" && gvm selfupdate |
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
| #!/bin/bash | |
| ENV="$1" | |
| TAG="$2" | |
| if [[ -z "$ENV" || -z "$TAG" ]]; then | |
| echo "Usage: deploy-gvm <env> <tag>" | |
| exit 0 | |
| fi |