feat: Add unconvert command

This commit is contained in:
Bo-Yi Wu 2017-01-28 11:25:54 +08:00
parent f155e20fa2
commit c144a53107
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@ lint:
fi
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
unconvert:
@which unconvert > /dev/null; if [ $$? -ne 0 ]; then \
go get -u github.com/mdempsky/unconvert; \
fi
for PKG in $(PACKAGES); do unconvert -v $$PKG || exit 1; done;
dep_install:
glide install