#! /bin/sh rm -rf tmp mkdir tmp cp proto/sdlan.proto tmp/sdlan_pb.proto cd tmp protoc sdlan_pb.proto --swift_out=. cp sdlan_pb.pb.swift SDLMessage.pb.swift cp SDLMessage.pb.swift /usr/local/code/macos/punchnet/Tun/Punchnet/Protobuf/