Skip to content

Commit edbce38

Browse files
committed
build: remove unused tasks from Makefile
1 parent c1beac8 commit edbce38

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ precompile:
1818
go build -a -i -o $(BIN_DIR)/$(NAME)
1919
rm $(BIN_DIR)/$(NAME)
2020

21-
install-dep:
22-
[ -x bin/dep ] || go build -o bin/dep github.com/golang/dep/cmd/dep
23-
24-
dep-ensure: install-dep
25-
bin/dep ensure -v
26-
2721
test:
2822
make
2923
go test -v -race -parallel 3 ./...
@@ -38,11 +32,11 @@ release: $(BIN_DIR)/$(NAME)
3832
exe=$$exe.exe; \
3933
fi; \
4034
echo "Creating $$exe ... (os=$$os, arch=$$arch)"; \
41-
GOOS=$$os GOARCH=$$arch GO111MODULE=off go build -tags netgo -installsuffix netgo -ldflags "$(RELEASE_LDFLAGS)" -o $$exe; \
35+
GOOS=$$os GOARCH=$$arch go build -tags netgo -installsuffix netgo -ldflags "$(RELEASE_LDFLAGS)" -o $$exe; \
4236
done; \
4337
done
4438

4539
update-doc: all
4640
go run _scripts/update-cmdref.go >CMDREF.md
4741

48-
.PHONY: all precompile install-dep dep-ensure test release update-doc
42+
.PHONY: all precompile test release update-doc

0 commit comments

Comments
 (0)