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
2020-04-17 07:04:52 +02:00
committed by GitHub

View File

@@ -4,6 +4,7 @@ IMPORT := github.com/owncloud/$(NAME)
BIN := bin
DIST := dist
HUGO := hugo
CONFIG := config/identifier-registration.yaml
ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe
@@ -57,10 +58,14 @@ sync:
go mod download
.PHONY: clean
clean:
clean: clean-config
go clean -i ./...
rm -rf $(BIN) $(DIST) $(HUGO)
.PHONY: clean-config
clean-config:
rm -rf $(CONFIG)
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)