summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYufan You <ouuansteve@gmail.com>2021-01-26 09:20:01 +0800
committerDaniel Milde <daniel@milde.cz>2021-01-26 21:41:20 +0100
commit0f17d69c2008a6ab3ca00797b6900cacdc467df2 (patch)
tree5eef125231b352e4e47d1055808ddf49e16235bf
parent973a2523274f9a4d86b5bd1cdb8f972c5f8ebbe4 (diff)
build(Makefile): use mkdir -p to avoid the error messagev4.3.1
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3c5e39..568719d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ run:
build:
@echo "Version: " $(VERSION)
- -mkdir dist
+ mkdir -p dist
GOFLAGS="$(GOFLAGS)" go build -ldflags=$(LDFLAGS) -o dist/$(NAME) .
build-all: