Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ LDFLAGS = -ldflags "\
-X 'github.com/fastly/cli/pkg/revision.Environment=${CLI_ENV}' \
"

fastly:
GO_FILES = $(shell find cmd pkg -type f -name '*.go')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interestingly there are 482 go files in this project 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was a little worried about that but I didn't see a noticeable slowdown in builds


fastly: $(GO_FILES)
@go build -trimpath $(LDFLAGS) -o "$@" ./cmd/fastly

# useful for attaching a debugger such as https://github.com/go-delve/delve
Expand Down