guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 04/04: build: clean-go: Do not warn about *.go files in "test-tmp".
Date: Thu, 7 Feb 2019 22:21:49 -0500 (EST)

bavier pushed a commit to branch master
in repository guix.

commit 92becc3f15ce196a94274f80ee0b6594774856fa
Author: Eric Bavier <address@hidden>
Date:   Tue Jan 29 23:07:33 2019 -0600

    build: clean-go: Do not warn about *.go files in "test-tmp".
    
    * Makefile.am (clean-go): Ignore "test-tmp" directory.
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 0590c51..fec9800 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]