diff --git a/README.md b/README.md index e9c91f65..091f8fd9 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,9 @@ notify.moe is powered by the [Aero framework](https://github.com/aerogo/aero) fr * `go get github.com/animenotifier/notify.moe` -### Install pack & run - -* `go get github.com/aerogo/pack` -* `go get github.com/aerogo/run` -* `go install github.com/aerogo/pack` -* `go install github.com/aerogo/run` - ### Build all +* Run `make tools` to install [pack](https://github.com/aerogo/pack) & [run](https://github.com/aerogo/run) * Run `make all` * Run `make ports` to set up local port forwarding *(80 to 4000, 443 to 4001)* * You should be able to start the server by executing `run` now diff --git a/makefile b/makefile index d536e2c5..d8ca17b9 100644 --- a/makefile +++ b/makefile @@ -23,6 +23,12 @@ test: $(GOTEST) bench: $(GOTEST) -bench . +tools: + go get -u golang.org/x/tools/cmd/goimports + go get -u github.com/aerogo/pack + go get -u github.com/aerogo/run + go install github.com/aerogo/pack + go install github.com/aerogo/run versions: @go version @asd --version