make auto creating out dir in compile proto script

This commit is contained in:
MaximZaitsev
2016-08-22 13:10:44 +03:00
parent 612acd4667
commit 627c8641ee
@@ -1,2 +1,5 @@
#!/bin/bash
parent_path=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P )
cd "$parent_path"
mkdir out -p
../compiler/build/protoc --kotlin_out="./out/" --proto_path="./server_car" ./server_car/*.proto