Created
March 21, 2017 13:51
-
-
Save torufurukawa/e537eabb2286679d924b48cd91f10ea9 to your computer and use it in GitHub Desktop.
mkgoenv
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 | |
# activate | |
cat << 'EOS' > activate | |
export GOPATH=$(pwd) | |
export PATH=${PATH}:$(pwd)/bin | |
EOS | |
# VS Code setting | |
mkdir -p .vscode | |
cat << EOS > .vscode/settings.json | |
{ | |
"go.gopath": "$(pwd)" | |
} | |
EOS | |
# repository | |
mkdir -p src/github.com/torufurukawa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment