fix: typo hashnull -> dev/null (#195)
This commit is contained in:
parent
92b9da2f00
commit
7360bc8a04
6
Makefile
6
Makefile
|
@ -51,19 +51,19 @@ embedmd:
|
||||||
embedmd -d *.md
|
embedmd -d *.md
|
||||||
|
|
||||||
errcheck:
|
errcheck:
|
||||||
@hash errcheck > /hashnull 2>&1; if [ $$? -ne 0 ]; then \
|
@hash errcheck > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
go get -u github.com/kisielk/errcheck; \
|
go get -u github.com/kisielk/errcheck; \
|
||||||
fi
|
fi
|
||||||
errcheck $(PACKAGES)
|
errcheck $(PACKAGES)
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@hash golint > /hashnull 2>&1; if [ $$? -ne 0 ]; then \
|
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
go get -u github.com/golang/lint/golint; \
|
go get -u github.com/golang/lint/golint; \
|
||||||
fi
|
fi
|
||||||
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
|
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
|
||||||
|
|
||||||
unconvert:
|
unconvert:
|
||||||
@hash unconvert > /hashnull 2>&1; if [ $$? -ne 0 ]; then \
|
@hash unconvert > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
go get -u github.com/mdempsky/unconvert; \
|
go get -u github.com/mdempsky/unconvert; \
|
||||||
fi
|
fi
|
||||||
for PKG in $(PACKAGES); do unconvert -v $$PKG || exit 1; done;
|
for PKG in $(PACKAGES); do unconvert -v $$PKG || exit 1; done;
|
||||||
|
|
Loading…
Reference in New Issue