Skip to content

Commit

Permalink
[install_source] config download source: github or internal
Browse files Browse the repository at this point in the history
  • Loading branch information
jackblack369 committed Jan 15, 2025
1 parent a130c31 commit 2553fb2
Show file tree
Hide file tree
Showing 211 changed files with 750 additions and 524 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OUTPUT := bin/dingoadm
# build flags
LDFLAGS := -s -w
LDFLAGS += -extldflags "-static -fpic"
LDFLAGS += -X github.com/dingodb/curveadm/cli/cli.CommitId=$(shell git rev-parse --short HEAD)
LDFLAGS += -X github.com/dingodb/dingoadm/cli/cli.CommitId=$(shell git rev-parse --short HEAD)

BUILD_FLAGS := -a
BUILD_FLAGS += -trimpath
Expand All @@ -51,7 +51,7 @@ TEST_FLAGS += $(DEBUG_FLAGS)
TEST_FLAGS += -run $(CASE)

# packages
PACKAGES := $(PWD)/cmd/curveadm/main.go
PACKAGES := $(PWD)/cmd/dingoadm/main.go

# tar
VERSION := "unknown"
Expand All @@ -63,7 +63,7 @@ debug:
$(GOENV) $(GO) build -o $(OUTPUT) $(DEBUG_FLAGS) $(PACKAGES)

install:
cp bin/dingoadm ~/.curveadm/bin
cp bin/dingoadm ~/.dingoadm/bin

test:
$(GO_TEST) $(TEST_FLAGS) ./...
Expand Down
Loading

0 comments on commit 2553fb2

Please sign in to comment.