Kaynağa Gözat

add golang output default

yokyo 6 yıl önce
ebeveyn
işleme
febfc65879
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      build

+ 4 - 1
build

@@ -7,7 +7,10 @@ def main():
     parser.add_argument('-g', '--golang', help='build proto to golang output', action='store_true')
     parser.add_argument('-p', '--python', help='build proto to python output', action='store_true')
     args = parser.parse_args()
-
+    
+    if not args.golang and not args.python:
+        args.golang = True
+        
     for cur, dirs, files in os.walk('.'):
         if cur[2:8] == 'google':
             continue