Browse Source

build: clean-go: Do not warn about *.go files in "test-tmp".

* Makefile.am (clean-go): Ignore "test-tmp" directory.
gn-latest-20200428
Eric Bavier 2 years ago
parent
commit
92becc3f15
No known key found for this signature in database GPG Key ID: FD73CAC719D32566
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.am

+ 1
- 1
Makefile.am View File

@ -318,7 +318,7 @@ nobase_nodist_guileobject_DATA = $(GOBJECTS)
# Handy way to remove the .go files without removing all the rest.
clean-go:
-$(RM) -f $(GOBJECTS)
@find . -name '*.go' -print | \
@find . -path ./test-tmp -prune -o -name '*.go' -print | \
if test -t 1; then \
xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
else \


Loading…
Cancel
Save