autoproj 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autoproj/cli/doc.rb +3 -8
- data/lib/autoproj/cli/main.rb +2 -1
- data/lib/autoproj/cli/main_test.rb +1 -1
- data/lib/autoproj/cli/test.rb +4 -5
- data/lib/autoproj/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25acae3976b79a7315a31833d05307dcb4895f54
|
4
|
+
data.tar.gz: d9d1ab21a7aabc251e31f315f5c07d07fb068950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42e0965907323cdeff72cc1b5754b4b5f35202ac295d603348d669d868d31df9170a242cdf901ac6ecba0c43d3e0bede54c9b2f368e0d0f0e79c23f4e39ada70
|
7
|
+
data.tar.gz: 2903a67c90039c2fa5f0d4101477815559b77586edc3fbe11fb6722515b499a0fac346c6b009a1924af85a98daa20be837181fe02a93bdcc965b08dd01d3a146
|
data/lib/autoproj/cli/doc.rb
CHANGED
@@ -3,15 +3,10 @@
|
|
3
3
|
module Autoproj
|
4
4
|
module CLI
|
5
5
|
class Doc < InspectionTool
|
6
|
-
def run(
|
6
|
+
def run(user_selection, deps: true)
|
7
7
|
initialize_and_load
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
selected_packages, _ =
|
12
|
-
normalize_command_line_package_selection(selected_packages)
|
13
|
-
package_names, _ = resolve_selection(selected_packages, recursive: options[:with_deps])
|
14
|
-
|
8
|
+
packages, _ =
|
9
|
+
finalize_setup(user_selection, recursive: deps)
|
15
10
|
packages.each do |pkg|
|
16
11
|
ws.manifest.find_autobuild_package(pkg).disable_phases('import', 'prepare', 'install')
|
17
12
|
end
|
data/lib/autoproj/cli/main.rb
CHANGED
@@ -84,7 +84,8 @@ def status(*packages)
|
|
84
84
|
end
|
85
85
|
|
86
86
|
desc 'doc [PACKAGES]', 'generate API documentation for packages that support it'
|
87
|
-
option :
|
87
|
+
option :deps, desc: 'control whether documentation should be generated only for the packages given on the command line, or also for their dependencies',
|
88
|
+
type: :boolean, default: true
|
88
89
|
def doc(*packages)
|
89
90
|
run_autoproj_cli(:doc, :Doc, Hash[], *packages)
|
90
91
|
end
|
@@ -62,7 +62,7 @@ def exec(*packages)
|
|
62
62
|
cli = Test.new
|
63
63
|
Autobuild.pass_test_errors = options[:fail]
|
64
64
|
Autobuild::TestUtility.coverage_enabled = options[:coverage]
|
65
|
-
args = cli.validate_options(packages, options)
|
65
|
+
args = cli.validate_options(packages, deps: options[:deps])
|
66
66
|
cli.run(*args)
|
67
67
|
end
|
68
68
|
end
|
data/lib/autoproj/cli/test.rb
CHANGED
@@ -54,13 +54,12 @@ def list(user_selection, options = Hash.new)
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
-
def run(user_selection,
|
57
|
+
def run(user_selection, deps: true)
|
58
58
|
initialize_and_load
|
59
|
-
packages, _ =
|
60
|
-
|
61
|
-
|
59
|
+
packages, _ =
|
60
|
+
finalize_setup(user_selection, recursive: deps)
|
62
61
|
packages.each do |pkg|
|
63
|
-
|
62
|
+
ws.manifest.find_autobuild_package(pkg).disable_phases('import', 'prepare', 'install')
|
64
63
|
end
|
65
64
|
Autobuild.apply(packages, "autoproj-test", ['test'])
|
66
65
|
end
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -337,4 +337,3 @@ signing_key:
|
|
337
337
|
specification_version: 4
|
338
338
|
summary: Easy installation and management of sets of software packages
|
339
339
|
test_files: []
|
340
|
-
has_rdoc:
|