Browse code

Dont run man generation as part of test-unit.

Signed-off-by: Daniel Nephin <dnephin@docker.com>

Daniel Nephin authored on 2016/06/22 23:12:18
Showing 5 changed files
... ...
@@ -63,27 +63,35 @@ func runCreate(dockerCli *client.DockerCli, opts createOptions) error {
63 63
 }
64 64
 
65 65
 var createDescription = `
66
-Creates a new volume that containers can consume and store data in. If a name is not specified, Docker generates a random name. You create a volume and then configure the container to use it, for example:
66
+Creates a new volume that containers can consume and store data in. If a name
67
+is not specified, Docker generates a random name. You create a volume and then
68
+configure the container to use it, for example:
67 69
 
68 70
     $ docker volume create --name hello
69 71
     hello
70 72
     $ docker run -d -v hello:/world busybox ls /world
71 73
 
72
-The mount is created inside the container's **/src** directory. Docker doesn't not support relative paths for mount points inside the container.
74
+The mount is created inside the container's **/src** directory. Docker doesn't
75
+not support relative paths for mount points inside the container.
73 76
 
74
-Multiple containers can use the same volume in the same time period. This is useful if two containers need access to shared data. For example, if one container writes and the other reads the data.
77
+Multiple containers can use the same volume in the same time period. This is
78
+useful if two containers need access to shared data. For example, if one
79
+container writes and the other reads the data.
75 80
 
76 81
 ## Driver specific options
77 82
 
78
-Some volume drivers may take options to customize the volume creation. Use the **-o** or **--opt** flags to pass driver options:
83
+Some volume drivers may take options to customize the volume creation. Use the
84
+**-o** or **--opt** flags to pass driver options:
79 85
 
80 86
     $ docker volume create --driver fake --opt tardis=blue --opt timey=wimey
81 87
 
82
-These options are passed directly to the volume driver. Options for different volume drivers may do different things (or nothing at all).
88
+These options are passed directly to the volume driver. Options for different
89
+volume drivers may do different things (or nothing at all).
83 90
 
84 91
 The built-in **local** driver on Windows does not support any options.
85 92
 
86
-The built-in **local** driver on Linux accepts options similar to the linux **mount** command:
93
+The built-in **local** driver on Linux accepts options similar to the linux
94
+**mount** command:
87 95
 
88 96
     $ docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000
89 97
 
... ...
@@ -49,7 +49,7 @@ func runInspect(dockerCli *client.DockerCli, opts inspectOptions) error {
49 49
 var inspectDescription = `
50 50
 Returns information about one or more volumes. By default, this command renders
51 51
 all results in a JSON array. You can specify an alternate format to execute a
52
-given template is executed for each result. Go's http://golang.org/pkg/text/template/
52
+given template is executed for each result. Go's https://golang.org/pkg/text/template/
53 53
 package describes all the details of the format.
54 54
 
55 55
 `
... ...
@@ -88,8 +88,12 @@ func runList(dockerCli *client.DockerCli, opts listOptions) error {
88 88
 
89 89
 var listDescription = `
90 90
 
91
-Lists all the volumes Docker knows about. You can filter using the **-f** or **--filter** flag. The filtering format is a **key=value** pair. To specify more than one filter,  pass multiple flags (for example,  **--filter "foo=bar" --filter "bif=baz"**)
91
+Lists all the volumes Docker knows about. You can filter using the **-f** or
92
+**--filter** flag. The filtering format is a **key=value** pair. To specify
93
+more than one filter,  pass multiple flags (for example,
94
+**--filter "foo=bar" --filter "bif=baz"**)
92 95
 
93
-There is a single supported filter **dangling=value** which takes a boolean of **true** or **false**.
96
+There is a single supported filter **dangling=value** which takes a boolean of
97
+**true** or **false**.
94 98
 
95 99
 `
... ...
@@ -32,6 +32,7 @@ bundle_test_unit() {
32 32
 		"${BUILDFLAGS[@]}" $TEST_PATH \
33 33
 		| grep github.com/docker/docker \
34 34
 		| grep -v github.com/docker/docker/vendor \
35
+		| grep -v github.com/docker/docker/man \
35 36
 		| grep -v github.com/docker/docker/integration-cli)
36 37
 	go test $COVER $GCCGOFLAGS -ldflags "$LDFLAGS" "${BUILDFLAGS[@]}" $TESTFLAGS $pkg_list
37 38
 }
... ...
@@ -48,5 +48,5 @@ imports:
48 48
   repo: https://github.com/dnephin/cobra
49 49
   subpackages:
50 50
   - doc
51
-  version: dc45219961f875acff5ee07ed263e5dc19e0c5f1
51
+  version: v1.3
52 52
 devImports: []