Extract shared function

This commit is contained in:
Adam Harrison committed 2016-09-29 11:45:28 +01:00
1 parent e1063944f6
commit 263dffeedc
4 files changed
+22 -19

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
install_wordepress() {
go get github.com/weaveworks/wordepress
cd /home/ubuntu/src/github.com/weaveworks/wordepress
git checkout $1
cd cmd/wordepress
go get
}