aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.sh
diff options
context:
space:
mode:
authorTsuyoshi CHO <Tsuyoshi.CHO@Gmail.com>2020-01-29 23:00:00 +0900
committerTsuyoshi CHO <Tsuyoshi.CHO@Gmail.com>2020-01-29 23:36:35 +0900
commit899988fb04f4aa477c14e979f173216c0c2aadae (patch)
treeb3557a712478f30b1e989af02cbe128fb45dfd8c /installer/go_install.sh
parent54b401800bd2322bb40151cd63269ad3a39ebb35 (diff)
downloadvim-lsp-settings-899988fb04f4aa477c14e979f173216c0c2aadae.tar.gz
vim-lsp-settings-899988fb04f4aa477c14e979f173216c0c2aadae.tar.bz2
vim-lsp-settings-899988fb04f4aa477c14e979f173216c0c2aadae.zip
Add go installer/efm-langserver installer
Diffstat (limited to 'installer/go_install.sh')
-rwxr-xr-xinstaller/go_install.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/installer/go_install.sh b/installer/go_install.sh
new file mode 100755
index 0000000..d60925b
--- /dev/null
+++ b/installer/go_install.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Usage
+# $ go_install [EXECUTABLE_NAME] [GO_GET_URLPATH]
+
+set -e
+
+GOPATH=$(pwd)/go
+go get "$2"
+ln -s "./go/bin/$1" .