diff options
author | Anatoli Babenia <anatoli@rainforce.org> | 2020-04-19 16:14:56 +0300 |
---|---|---|
committer | Anatoli Babenia <anatoli@rainforce.org> | 2020-04-20 07:26:55 +0300 |
commit | a58c59f401f88bd78a78ed859f0741e6da5eb619 (patch) | |
tree | e3c056d07911f81e0fdbdf9b0338c5f499e2facb | |
parent | e4e42b28dfef0ffd12f2087048dec61f9cb03976 (diff) | |
download | podman-a58c59f401f88bd78a78ed859f0741e6da5eb619.tar.gz podman-a58c59f401f88bd78a78ed859f0741e6da5eb619.tar.bz2 podman-a58c59f401f88bd78a78ed859f0741e6da5eb619.zip |
Make `find` ignore dot files
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 <anatoli@rainforce.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |