File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ GOFLAGS := \
10
10
--tags "static" \
11
11
-ldflags "-X main.BuildVersion=$(shell git rev-parse HEAD) -X main.BuildDescribe=$(shell git describe --tags --always --dirty) "
12
12
GO_PKGS := $(PACKAGE ) \
13
- $(PACKAGE ) /git-sizer \
14
13
$(PACKAGE ) /isatty \
15
14
$(PACKAGE ) /meter \
16
15
$(PACKAGE ) /sizes
@@ -22,7 +21,7 @@ all: bin/git-sizer
22
21
.PHONY : bin/git-sizer
23
22
bin/git-sizer :
24
23
mkdir -p bin
25
- $(GO ) build $(GOFLAGS ) -o $@ $(PACKAGE ) /git-sizer
24
+ $(GO ) build $(GOFLAGS ) -o $@ $(PACKAGE )
26
25
27
26
.PHONY : test
28
27
test : bin/git-sizer gotest
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
8
8
// Smoke test that the program runs.
9
9
func TestExec (t * testing.T ) {
10
- command := exec .Command ("bin/git-sizer" , "." )
11
- command .Dir = ".."
10
+ command := exec .Command ("bin/git-sizer" )
12
11
output , err := command .CombinedOutput ()
13
12
if err != nil {
14
13
t .Errorf ("command failed (%s); output: %#v" , err , string (output ))
You can’t perform that action at this time.
0 commit comments