Updated makefile

This commit is contained in:
Eduard Urbach 2017-07-06 01:51:42 +02:00
parent ae27c50c1f
commit d31b812b6e
2 changed files with 7 additions and 7 deletions

View File

@ -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` * `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 ### Build all
* Run `make tools` to install [pack](https://github.com/aerogo/pack) & [run](https://github.com/aerogo/run)
* Run `make all` * Run `make all`
* Run `make ports` to set up local port forwarding *(80 to 4000, 443 to 4001)* * 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 * You should be able to start the server by executing `run` now

View File

@ -23,6 +23,12 @@ test:
$(GOTEST) $(GOTEST)
bench: bench:
$(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: versions:
@go version @go version
@asd --version @asd --version