fix(Makefile): remove old clean targets
parent
1e2a602cf6
commit
a8c1155b21
6
Makefile
6
Makefile
|
|
@ -8,7 +8,7 @@
|
|||
# * All cmds must be added to this top level Makefile.
|
||||
# * All binaries are placed in ./bin, its recommended to add this directory to your PATH.
|
||||
# * Each package that has a need to run go generate, must have its own Makefile for that purpose.
|
||||
# * All recursive Makefiles must support the targets: all and clean.
|
||||
# * All recursive Makefiles must support the all target
|
||||
#
|
||||
|
||||
SUBDIRS := query task
|
||||
|
|
@ -127,9 +127,7 @@ bench:
|
|||
nightly: all
|
||||
env GO111MODULE=on go run github.com/goreleaser/goreleaser --snapshot --rm-dist --publish-snapshots
|
||||
|
||||
# Recursively clean all subdirs
|
||||
clean: $(SUBDIRS)
|
||||
@for d in $^; do $(MAKE) -C $$d $(MAKECMDGOALS); done
|
||||
clean:
|
||||
$(MAKE) -C ui $(MAKECMDGOALS)
|
||||
rm -rf bin
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,5 @@ $(SUBDIRS):
|
|||
|
||||
all: $(SUBDIRS)
|
||||
|
||||
clean: $(SUBDIRS)
|
||||
|
||||
.PHONY: all clean subdirs $(SUBDIRS)
|
||||
.PHONY: all subdirs $(SUBDIRS)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,4 @@ GO_GENERATE := go generate
|
|||
promql.go: promql.peg gen.go
|
||||
$(GO_GENERATE) -x
|
||||
|
||||
clean:
|
||||
rm -f promql.go
|
||||
|
||||
.PHONY: all clean
|
||||
.PHONY: all
|
||||
|
|
|
|||
|
|
@ -7,7 +7,4 @@ $(SUBDIRS):
|
|||
|
||||
all: $(SUBDIRS)
|
||||
|
||||
clean: $(SUBDIRS)
|
||||
|
||||
|
||||
.PHONY: all clean subdirs $(SUBDIRS)
|
||||
.PHONY: all subdirs $(SUBDIRS)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,4 @@ all: $(targets)
|
|||
$(targets): meta.proto
|
||||
$(GO_GENERATE) -x
|
||||
|
||||
clean:
|
||||
rm -f $(targets)
|
||||
|
||||
.PHONY: all clean
|
||||
.PHONY: all
|
||||
|
|
|
|||
Loading…
Reference in New Issue