jskeet / synthtool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diagram of relationship between Autosynth, Synthtool, and Github

SynthTool (for client libraries)

This repository contains two, related tools for generating source code for Google Cloud client libraries.

Synthtool

Synthtool is a library of common templates and code that makes generating source code easier. With synthtool, the source code for an API can be generated in 10 lines of code or less. For an example, see googleapis/java-asset/synth.py.

More details about Synthtool can be found in its README.

Autosynth

Autosynth automatically runs nightly or more frequently. It finds and runs synth.py scripts like googleapis/java-asset/synth.py, collects the generated code, and creates a new pull request like this one if the generated code differs.

Autosynth & Synthtool

Autosynth and Synthtool communicate with each other via a file protocol described here.

About

License:Apache License 2.0


Languages

Language:Python 79.8%Language:Shell 12.1%Language:Jinja 5.9%Language:HTML 1.2%Language:Dockerfile 0.6%Language:JavaScript 0.3%Language:Batchfile 0.0%