Jiri Simsa | 3f4e92d | 2015-03-24 21:26:37 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | |
| 8 | /* |
Suharsh Sivakumar | d1cc6e0 | 2015-03-16 13:58:49 -0700 | [diff] [blame] | 9 | The build tool tool facilitates interaction with the vanadium build server. |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 10 | |
| 11 | Usage: |
| 12 | build <command> |
| 13 | |
| 14 | The build commands are: |
Suharsh Sivakumar | d1cc6e0 | 2015-03-16 13:58:49 -0700 | [diff] [blame] | 15 | build Build vanadium Go packages |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 16 | help Display help for commands or topics |
| 17 | Run "build help [command]" for command usage. |
| 18 | |
| 19 | The global flags are: |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 20 | -alsologtostderr=true |
| 21 | log to standard error as well as files |
| 22 | -log_backtrace_at=:0 |
| 23 | when logging hits line file:N, emit a stack trace |
| 24 | -log_dir= |
| 25 | if non-empty, write log files to this directory |
| 26 | -logtostderr=false |
| 27 | log to standard error instead of files |
| 28 | -max_stack_buf_size=4292608 |
| 29 | max size in bytes of the buffer to use for logging stack traces |
| 30 | -stderrthreshold=2 |
| 31 | logs at or above this threshold go to stderr |
| 32 | -v=0 |
| 33 | log level for V logs |
Jiri Simsa | 3540e3a | 2014-12-26 07:54:09 -0800 | [diff] [blame] | 34 | -vanadium.i18n_catalogue= |
| 35 | 18n catalogue files to load, comma separated |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 36 | -veyron.credentials= |
| 37 | directory to use for storing security credentials |
Robin Thellend | 8fea01c | 2014-12-11 13:48:10 -0800 | [diff] [blame] | 38 | -veyron.namespace.root=[/ns.dev.v.io:8101] |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 39 | local namespace root; can be repeated to provided multiple roots |
Jiri Simsa | e44e74e | 2015-02-03 16:04:48 -0800 | [diff] [blame] | 40 | -veyron.proxy= |
| 41 | object name of proxy service to use to export services across network |
| 42 | boundaries |
| 43 | -veyron.tcp.address= |
| 44 | address to listen on |
Cosmos Nicolaou | f016f4a | 2015-03-24 12:10:26 -0700 | [diff] [blame] | 45 | -veyron.tcp.protocol=wsh |
Jiri Simsa | e44e74e | 2015-02-03 16:04:48 -0800 | [diff] [blame] | 46 | protocol to listen with |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 47 | -veyron.vtrace.cache_size=1024 |
| 48 | The number of vtrace traces to store in memory. |
Jiri Simsa | 7fc2271 | 2015-02-03 11:27:02 -0800 | [diff] [blame] | 49 | -veyron.vtrace.collect_regexp= |
| 50 | Spans and annotations that match this regular expression will trigger trace |
| 51 | collection. |
| 52 | -veyron.vtrace.dump_on_shutdown=true |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 53 | If true, dump all stored traces on runtime shutdown. |
| 54 | -veyron.vtrace.sample_rate=0 |
| 55 | Rate (from 0.0 to 1.0) to sample vtrace traces. |
| 56 | -vmodule= |
| 57 | comma-separated list of pattern=N settings for file-filtered logging |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 58 | |
| 59 | Build Build |
| 60 | |
Suharsh Sivakumar | d1cc6e0 | 2015-03-16 13:58:49 -0700 | [diff] [blame] | 61 | Build vanadium Go packages using a remote build server. The command collects all |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 62 | source code files that are not part of the Go standard library that the target |
| 63 | packages depend on, sends them to a build server, and receives the built |
| 64 | binaries. |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 65 | |
| 66 | Usage: |
| 67 | build build [flags] <name> <packages> |
| 68 | |
Suharsh Sivakumar | d1cc6e0 | 2015-03-16 13:58:49 -0700 | [diff] [blame] | 69 | <name> is a vanadium object name of a build server <packages> is a list of |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 70 | packages to build, specified as arguments for each command. The format is |
| 71 | similar to the go tool. In its simplest form each package is an import path; |
Suharsh Sivakumar | 8646ba6 | 2015-03-18 15:22:28 -0700 | [diff] [blame] | 72 | e.g. "v.io/x/ref/cmd/build". A package that ends with "..." does a wildcard |
| 73 | match against all packages with that prefix. |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 74 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 75 | The build build flags are: |
Jiri Simsa | 6cb0d94 | 2015-03-11 21:33:26 -0700 | [diff] [blame] | 76 | -arch=${GOARCH} |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 77 | Target architecture. |
Jiri Simsa | 6cb0d94 | 2015-03-11 21:33:26 -0700 | [diff] [blame] | 78 | -os=${GOOS} |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 79 | Target operating system. |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 80 | |
| 81 | Build Help |
| 82 | |
| 83 | Help with no args displays the usage of the parent command. |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 84 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 85 | Help with args displays the usage of the specified sub-command or help topic. |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 86 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 87 | "help ..." recursively displays help for all commands and topics. |
| 88 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 89 | The output is formatted to a target width in runes. The target width is |
| 90 | determined by checking the environment variable CMDLINE_WIDTH, falling back on |
| 91 | the terminal width from the OS, falling back on 80 chars. By setting |
| 92 | CMDLINE_WIDTH=x, if x > 0 the width is x, if x < 0 the width is unlimited, and |
| 93 | if x == 0 or is unset one of the fallbacks is used. |
| 94 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 95 | Usage: |
| 96 | build help [flags] [command/topic ...] |
| 97 | |
| 98 | [command/topic ...] optionally identifies a specific sub-command or help topic. |
| 99 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 100 | The build help flags are: |
Jiri Simsa | e8a44a2 | 2015-03-13 17:35:39 -0700 | [diff] [blame] | 101 | -style=default |
| 102 | The formatting style for help output, either "default" or "godoc". |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 103 | */ |
| 104 | package main |