Skip to content

Commit f0b534f

Browse files
committed
Move build to internal
1 parent 9df3bd9 commit f0b534f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ifndef CGO_LDFLAGS
1919
export CGO_LDFLAGS := $(LDFLAGS)
2020
endif
2121

22-
GO_LDFLAGS := -X github.com/cli/cli/build.Version=$(GH_VERSION) $(GO_LDFLAGS)
23-
GO_LDFLAGS := -X github.com/cli/cli/build.Date=$(BUILD_DATE) $(GO_LDFLAGS)
22+
GO_LDFLAGS := -X github.com/cli/cli/internal/build.Version=$(GH_VERSION) $(GO_LDFLAGS)
23+
GO_LDFLAGS := -X github.com/cli/cli/internal/build.Date=$(BUILD_DATE) $(GO_LDFLAGS)
2424
ifdef GH_OAUTH_CLIENT_SECRET
2525
GO_LDFLAGS := -X github.com/cli/cli/internal/authflow.oauthClientID=$(GH_OAUTH_CLIENT_ID) $(GO_LDFLAGS)
2626
GO_LDFLAGS := -X github.com/cli/cli/internal/authflow.oauthClientSecret=$(GH_OAUTH_CLIENT_SECRET) $(GO_LDFLAGS)

cmd/gh/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
surveyCore "github.com/AlecAivazis/survey/v2/core"
1414
"github.com/cli/cli/api"
15-
"github.com/cli/cli/build"
15+
"github.com/cli/cli/internal/build"
1616
"github.com/cli/cli/internal/config"
1717
"github.com/cli/cli/internal/ghinstance"
1818
"github.com/cli/cli/internal/run"
File renamed without changes.

0 commit comments

Comments
 (0)