Skip to content

Commit

Permalink
Merge pull request #6260 from hashicorp/c-circleci-tweak-20190903
Browse files Browse the repository at this point in the history
ci: ignore nested pkgs in GOTEST_PKGS_EXCLUDE
  • Loading branch information
Mahmood Ali authored Sep 11, 2019
2 parents 32ad0ee + 515935d commit 97448cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GO_TEST_CMD = $(if $(shell which gotestsum),gotestsum --,go test)
ifeq ($(origin GOTEST_PKGS_EXCLUDE), undefined)
GOTEST_PKGS ?= "./..."
else
GOTEST_PKGS=$(shell go list ./... | sed 's/github.com\/hashicorp\/nomad/./' | egrep -v "^($(GOTEST_PKGS_EXCLUDE))$$")
GOTEST_PKGS=$(shell go list ./... | sed 's/github.com\/hashicorp\/nomad/./' | egrep -v "^($(GOTEST_PKGS_EXCLUDE))(/.*)?$$")
endif

default: help
Expand Down Expand Up @@ -170,6 +170,7 @@ check: ## Lint the source code
--deadline 10m \
--vendor \
--exclude='.*\.generated\.go' \
--exclude='.*\.pb\.go' \
--exclude='.*bindata_assetfs\.go' \
--skip="ui/" \
--sort="path" \
Expand Down
2 changes: 1 addition & 1 deletion client/fingerprint/storage_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"syscall"
)

//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zstorage_windows.go storage_windows.go
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zstorage_windows.generated.go storage_windows.go

//sys getDiskFreeSpaceEx(dirName *uint16, availableFreeBytes *uint64, totalBytes *uint64, totalFreeBytes *uint64) (err error) = kernel32.GetDiskFreeSpaceExW

Expand Down
File renamed without changes.

0 comments on commit 97448cf

Please sign in to comment.