From d31b812b6e02eb963fb9fe935b18426c4bad9948 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 6 Jul 2017 01:51:42 +0200 Subject: [PATCH] Updated makefile --- README.md | 8 +------- makefile | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) 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