Skip to content

Commit

Permalink
Make find ignore dot files
Browse files Browse the repository at this point in the history
There is no need to search for sources in hidden dirs. In my case
there are files from development environment that stand in the way.

Signed-off-by: Anatoli Babenia <[email protected]>
  • Loading branch information
abitrolly committed Apr 20, 2020
1 parent e4e42b2 commit a58c59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
# ~/.local/bin is not in PATH on all systems
PRE_COMMIT = $(shell command -v bin/venv/bin/pre-commit ~/.local/bin/pre-commit pre-commit | head -n1)

SOURCES = $(shell find . -name "*.go")
SOURCES = $(shell find . -path './.*' -prune -o -name "*.go")

GO_BUILD=$(GO) build
# Go module support: set `-mod=vendor` to use the vendored sources
Expand Down

0 comments on commit a58c59f

Please sign in to comment.