micro/tools/vendor-src.sh
2016-11-27 21:19:15 -05:00

14 lines
183 B
Bash
Executable file

cd ../cmd/micro
govendor init
govendor add +e
cd ../../..
tar czf "$1".tar.gz micro
zip -rq "$1".zip micro
mv "$1".tar.gz micro
mv "$1".zip micro
cd micro/cmd/micro
rm -rf vendor