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 := \
1010 --tags "static" \
1111 -ldflags "-X main.BuildVersion=$(shell git rev-parse HEAD) -X main.BuildDescribe=$(shell git describe --tags --always --dirty) "
1212GO_PKGS := $(PACKAGE ) \
13- $(PACKAGE ) /git-sizer \
1413 $(PACKAGE ) /isatty \
1514 $(PACKAGE ) /meter \
1615 $(PACKAGE ) /sizes
@@ -22,7 +21,7 @@ all: bin/git-sizer
2221.PHONY : bin/git-sizer
2322bin/git-sizer :
2423 mkdir -p bin
25- $(GO ) build $(GOFLAGS ) -o $@ $(PACKAGE ) /git-sizer
24+ $(GO ) build $(GOFLAGS ) -o $@ $(PACKAGE )
2625
2726.PHONY : test
2827test : bin/git-sizer gotest
File renamed without changes.
Original file line number Diff line number Diff line change 77
88// Smoke test that the program runs.
99func TestExec (t * testing.T ) {
10- command := exec .Command ("bin/git-sizer" , "." )
11- command .Dir = ".."
10+ command := exec .Command ("bin/git-sizer" )
1211 output , err := command .CombinedOutput ()
1312 if err != nil {
1413 t .Errorf ("command failed (%s); output: %#v" , err , string (output ))
You can’t perform that action at this time.
0 commit comments