diff --git a/Makefile b/Makefile
index 0cefa79a..7ba72a0f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
BRANCH := `git rev-parse --abbrev-ref HEAD`
+.PHONY: dependencies install
+
+dependencies:
+ go get -v ./...
+
install:
which wtf | xargs rm
go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6)_$(BRANCH) -X main.date=$(shell date +%FT%T%z)"
diff --git a/_site/content/posts/installation.md b/_site/content/posts/installation.md
index 70fa46ff..0042b7a4 100644
--- a/_site/content/posts/installation.md
+++ b/_site/content/posts/installation.md
@@ -17,6 +17,7 @@ git clone git@github.com:senorprogrammer/wtf.git
`cd` into that `wtf/` directory and run:
```bash
+make dependencies
make install
```
diff --git a/docs/index.xml b/docs/index.xml
index 8268bff5..6604167a 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -20,7 +20,7 @@
There are two ways to install WTF:
From Source Clone this repo:
git clone git@github.com:senorprogrammer/wtf.git cd into that wtf/ directory and run:
-make install and that should probably do it.
+make dependencies make install and that should probably do it.
As a Binary Grab the latest version from here:
https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run:
./wtf and that should also do it.
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index 17d23a26..1e20d51d 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -20,7 +20,7 @@
There are two ways to install WTF:
From Source Clone this repo:
git clone git@github.com:senorprogrammer/wtf.git cd into that wtf/ directory and run:
-make install and that should probably do it.
+make dependencies make install and that should probably do it.
As a Binary Grab the latest version from here:
https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run:
./wtf and that should also do it.
diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html
index 57a8982c..8aba7499 100644
--- a/docs/posts/installation/index.html
+++ b/docs/posts/installation/index.html
@@ -113,7 +113,8 @@
Clone this repo:
git clone git@github.com:senorprogrammer/wtf.git
cd
into that wtf/
directory and run:
-
+make dependencies
+make install
and that should probably do it.
As a Binary