Skip to content

Commit

Permalink
Remove vendor in Makefile (#245)
Browse files Browse the repository at this point in the history
Signed-off-by: Hui Kang <[email protected]>
  • Loading branch information
huikang authored and Paulo Janotti committed Aug 8, 2019
1 parent 35ed81c commit 2a2fbc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# More exclusions can be added similar with: -not -path './vendor/*'
# More exclusions can be added similar with: -not -path './testbed/*'
ALL_SRC := $(shell find . -name '*.go' \
-not -path './vendor/*' \
-not -path './testbed/*' \
-type f | sort)

# All source code and documents. Used in spell check.
ALL_SRC_AND_DOC := $(shell find . \( -name "*.md" -o -name "*.go" -o -name "*.yaml" \) \
-not -path './vendor/*' \
-type f | sort)

# ALL_PKGS is used with 'go cover'
Expand Down

0 comments on commit 2a2fbc4

Please sign in to comment.