commit | 85d3175a06a69fa9e21753a9b7f7c76b85fe18a1 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Fri Mar 11 17:15:02 2016 -0800 |
committer | Todd Wang <toddw@google.com> | Fri Mar 11 17:15:02 2016 -0800 |
tree | aa2732aec09c6c28900d72e483701dee7601a141 | |
parent | 75b1b06152c9716692d425c016f4444cff5bf6e2 [diff] |
devtools: Change vdl go generator to emit a single file. Here's the old behavior. In each vdl package, we generate *.go files that match the *.vdl file names. v.io/x/lib/foo/a.vdl v.io/x/lib/foo/a.vdl.go # genfile v.io/x/lib/foo/b.vdl v.io/x/lib/foo/b.vdl.go #genfile v.io/x/lib/bar/bar.vdl v.io/x/lib/bar/bar.vdl.go # genfile Here's the new behavior. In each vdl package, we generate a single <package name>.vdl.go file. v.io/x/lib/foo/a.vdl v.io/x/lib/foo/b.vdl v.io/x/lib/foo/foo.vdl.go #genfile v.io/x/lib/bar/bar.vdl v.io/x/lib/bar/bar.vdl.go # genfile The purpose of this change is to make it easier to deal with initialization ordering issues in our generated code, and to make the codegen simpler. Those larger goals will be tackled in subsequent CLs; this is the big one with lots of file moves and deletions. Note that the new vdl compiler will automatically delete any old *.vdl.go files after it has successfully generated code. That is only for the transitional step; we will remove that logic after everyone has switched over. Also removed the vdl -exts flag, which used to allow the user to change the set of extensions to consider vdl files. That was used long ago to deal with experimental vdl features, and hasn't been used in a while. Change-Id: Ifcc37834040946dee3fb6c19ca4db891b213a9f6 MultiPart: 2/7
This repository contains developer tools used to install and contribute to Vanadium.
For more information, see the installation and contributing instructions.
This repository is fetched and the tools are built as part of the Vanadium installation process for contributors.