commit | 58ba621181941c7487a81d0a614359d26b2671f6 | [log] [tgz] |
---|---|---|
author | James Ring <sjr@google.com> | Wed Sep 16 09:52:23 2015 -0700 |
committer | James Ring <sjr@google.com> | Tue Sep 22 18:01:08 2015 -0700 |
tree | 2e0e668c188a5dda25330793ba355b5622c6a403 | |
parent | b583e2183f18d39120bd5e7054425c151b7bc4ea [diff] |
add builtin VDLROOT support to vdl Currently, the vdl binary requires the v23 source distribution to run. This CL removes that requirement by compiling the necessary parts of the v23 source distribution into the vdl tool itself. There are two components: the builtin root generator, and the extractor. The generator runs at v23 go generate time and walks the v.io/v23/vdlroot package looking for VDL files. Any VDL file found is added to a tar file. That tar file is then gzip'd, base64 encoded and placed inside a const at the top of builtin_vdlroot.go. The extractor runs in vdl main() if --use_builtin_vdlroot is set and no VDLROOT could be determined (using existing build.VdlRootDir logic). The extractor creates a new temporary directory and untars the vdl sources to that directory. It then sets the VDLROOT environment. vdl tool execution then proceeds as usual. MultiPart: 1/2 Change-Id: I25fcbdb0ff9ff5029e6aeb8082e8116b1406f6b5
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.