Skip to content

Instantly share code, notes, and snippets.

@AngryAnt
Created February 17, 2017 12:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AngryAnt/7223d692ec9d2fd12053e5b04f57296a to your computer and use it in GitHub Desktop.
Legacy perl utility script for precompiling protobuf-net serialiser assembly.
print ("Precompiling protobuf serializer\n");
RunWithUnityMono (
"$checkoutRoot/Tools/Protobuf-net/precompile/precompile.exe",
"-probe:../External/",
"-probe:$unityInstallPath/Contents/Frameworks/Managed",
"-keyfile:$checkoutRoot/Behave.snk",
"-type:Behave.Debugger.Serializer",
"-access:internal",
"-out:Behave.$platform.Serializer.dll",
$newAssetsAssembly
) and die ("Failed to generate serializer class");
print ("Serializer ready\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment