Browse Source

build: clean-go: warn about stray .go files.

* Makefile.am (clean-go): Warn of .go files remaining in builddir.
gn-latest-20200428
Eric Bavier 5 years ago
parent
commit
cdf26f40b0
No known key found for this signature in database GPG Key ID: 1EBBD204781F962C
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Makefile.am

+ 6
- 0
Makefile.am View File

@ -208,6 +208,12 @@ endif INSTALL_SRFI_37
# Handy way to remove the .go files without removing all the rest.
clean-go:
-$(RM) -f $(GOBJECTS)
@find . -name '*.go' -print | \
if test -t 1; then \
xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
else \
xargs -r echo "warning: stray .go files:"; \
fi
# Test extensions; has to be unconditional.


Loading…
Cancel
Save