From 741292668a1e5fd2e1e8241a6d5cb71f52c97845 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 8 Nov 2018 12:56:14 -0500 Subject: [PATCH] Get dependencies before building --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c95392f..635e333 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,12 @@ GOCMD=go GOINSTALL=$(GOCMD) install GOBUILD=$(GOCMD) build GOTEST=$(GOCMD) test +GOGET=$(GOCMD) get BINARY_NAME=writefreely all : build -build: +build: deps cd cmd/writefreely; $(GOBUILD) test: @@ -16,6 +17,9 @@ run: $(GOINSTALL) ./... $(BINARY_NAME) --debug +deps : + $(GOGET) ./... + install : ./keys.sh cd less/; $(MAKE) install $(MFLAGS)