Skip to content

Commit ea0800c

Browse files
authored
rename binaries and change build (textileio#418)
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent 9f10578 commit ea0800c

62 files changed

Lines changed: 24 additions & 30 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
# vscode config folder
1818
.vscode/
1919

20-
pow
21-
powd
22-
powbench
23-
2420
buildtools/protoc
2521
buildtools/protoc-gen-go
2622

Makefile

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
clean:
2-
rm -f powd pow powbench
3-
.PHONY: clean
4-
51
BUILD_FLAGS=CGO_ENABLED=0
6-
build-cli:
7-
$(BUILD_FLAGS) go build -o pow exe/cli/main.go
8-
.PHONY: build-cli
92

10-
build-server:
11-
$(BUILD_FLAGS) go build -o powd exe/server/main.go
12-
.PHONY: build-server
3+
build:
4+
$(BUILD_FLAGS) go install ./...
5+
.PHONY: build
6+
7+
build-pow:
8+
$(BUILD_FLAGS) go install ./cmd/pow
9+
.PHONY: build-pow
1310

14-
build-bench:
15-
$(BUILD_FLAGS) go build -o powbench exe/bench/main.go
16-
.PHONY: build-bench
11+
build-powd:
12+
$(BUILD_FLAGS) go install ./cmd/powd
13+
.PHONY: build-powd
1714

18-
build: build-cli build-server build-bench
19-
.PHONY: build
15+
build-powbench:
16+
$(BUILD_FLAGS) go install ./cmd/powbench
17+
.PHONY: build-powbench
2018

2119
test:
2220
go test -short -p 4 -race -timeout 30m ./...

README.md

Lines changed: 8 additions & 8 deletions
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)