mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
The clean rule clobbers `.gitignore
`.
This commit is contained in:
parent
6ed67b02e2
commit
2450cb3b1c
1
Makefile
1
Makefile
|
@ -28,7 +28,6 @@ clean:
|
||||||
$(MAKE) -C model clean
|
$(MAKE) -C model clean
|
||||||
-find . -type f -iname '*~' -exec rm '{}' ';'
|
-find . -type f -iname '*~' -exec rm '{}' ';'
|
||||||
-find . -type f -iname '*#' -exec rm '{}' ';'
|
-find . -type f -iname '*#' -exec rm '{}' ';'
|
||||||
-find . -type f -iname '.*' -exec rm '{}' ';'
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w
|
find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w
|
||||||
|
|
Loading…
Reference in a new issue