File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ all: build
44
55build :
66 mkdir -p ./bin
7- go build -ldflags=" -X 'github.com/rahji/greyscale/cmd.version=1.0.0 '" -o ./bin/${BINARY_NAME} main.go
7+ go build -ldflags=" -X 'github.com/rahji/greyscale/cmd.version=1.0.1 '" -o ./bin/${BINARY_NAME} main.go
88test :
99 go test -v main.go
1010
1111run :
1212 mkdir -p ./bin
13- go build -ldflags=" -X 'github.com/rahji/greyscale/cmd.version=1.0.0 '" -o ./bin/${BINARY_NAME} main.go
13+ go build -ldflags=" -X 'github.com/rahji/greyscale/cmd.version=1.0.1 '" -o ./bin/${BINARY_NAME} main.go
1414 ./bin/${BINARY_NAME}
1515
1616clean :
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ which can be useful for scripts or piping the output to another command.
9696 out .WriteString (fmt .Sprintf ("|Filetype|%s|\n " , filetype ))
9797 out .WriteString (fmt .Sprintf ("|Color Model|%s|\n " , colorModelName ))
9898 out .WriteString (fmt .Sprintf ("|Min Bounds|%d x %d|\n " , bounds .Min .X , bounds .Min .Y ))
99- out .WriteString (fmt .Sprintf ("|Max Bounds|| %d x %d|\n " , bounds .Max .X , bounds .Max .Y ))
99+ out .WriteString (fmt .Sprintf ("|Max Bounds|%d x %d|\n " , bounds .Max .X , bounds .Max .Y ))
100100 out .WriteString (fmt .Sprintf ("|Total Pixels|%d|\n \n " , numpix ))
101101 md , _ := glamour .Render (out .String (), "dark" )
102102 fmt .Print (md )
You can’t perform that action at this time.
0 commit comments