Merge pull request #204 from owncloud/make-clean-identifier

remove identifier-registration.yaml during make clean
This commit is contained in:
Jörn Friedrich Dreyer authored and GitHub committed 2020-04-17 07:04:52 +02:00
commit a139cccecd
1 file changed
+6 -1
+6 -1
View File
@@ -4,6 +4,7 @@ IMPORT := github.com/owncloud/$(NAME)
BIN := bin BIN := bin
DIST := dist DIST := dist
HUGO := hugo HUGO := hugo
CONFIG := config/identifier-registration.yaml
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe EXECUTABLE := $(NAME).exe
@@ -57,10 +58,14 @@ sync:
go mod download go mod download
.PHONY: clean .PHONY: clean
clean: clean: clean-config
go clean -i ./... go clean -i ./...
rm -rf $(BIN) $(DIST) $(HUGO) rm -rf $(BIN) $(DIST) $(HUGO)
.PHONY: clean-config
clean-config:
rm -rf $(CONFIG)
.PHONY: fmt .PHONY: fmt
fmt: fmt:
gofmt -s -w $(SOURCES) gofmt -s -w $(SOURCES)