power_stencil 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ab7d833b0c353a7f1a1d1cd240bd89b7e1d6920
4
- data.tar.gz: 61a22b0e88f7fe4072f241619174a231407e52e5
3
+ metadata.gz: b4e9685088ebbf259c446b87fd7c40512110d612
4
+ data.tar.gz: aa164a65cd37d8027b2ba814b0c78778bbb215e8
5
5
  SHA512:
6
- metadata.gz: 5754fd517225f6b0f17100e9129a7eb55b1be226cffeec5f69b4f16fbc26755d7911137d7cfef9d7a408d12cd0aceff13bcda261e707a622574b853e41f8c8a8
7
- data.tar.gz: 26ffefc937dd522b7c8834f31d4d2a06fc3800e6576a4f5512878396956ddf49f25723bad7ea24ab0458b75493554ec1a711a4e58bc9ba2dc9d394d3c3a647ee
6
+ metadata.gz: 69a95cd3ff9b533b50e0c9a54229167e859f329393642911375f9c9d27a5c331bad6b7162369d525de26ca558c0ac2fb9dc681fb55c06ed758229025cccd2439
7
+ data.tar.gz: b66e180061373d758e81839625dfd3971fce24f2dd0242c9fa30f1579ad97d918ab321d06b0426c18aa3743580b7f2942e74a0b2ff0d88e8b58d46e6ec109df3
@@ -46,13 +46,18 @@ module PowerStencil
46
46
  targets = targets_from_criteria analyse_extra_params, project.engine.root_universe
47
47
  raise PowerStencil::Error, 'No valid entity specified' if targets.empty?
48
48
  project.engine.build targets, fail_on_error: config[:'fail-on-error'], parallelized: config[:parallelized]
49
+ build_ok = true
49
50
  project.engine.last_build_report.each do |entity_full_name, entity_report|
50
51
  if entity_report == ['Ok']
51
52
  puts " - '#{entity_full_name}' has been correctly built"
52
53
  else
54
+ build_ok = false
53
55
  puts_and_logs " - Failed to build '#{entity_full_name}' because #{entity_report.join}", logs_as: :error, check_verbose: false
54
56
  end
55
57
  end
58
+ unless build_ok
59
+ raise PowerStencil::Error, 'Could not complete build !'
60
+ end
56
61
 
57
62
  end
58
63
 
@@ -63,6 +63,7 @@ module PowerStencil
63
63
  end
64
64
 
65
65
  def setup_climatic(cmd_line_args)
66
+ ::UltraCommandLine.permissive_mode = true
66
67
  mngr = Climatic::ConfigLayers::CommandLineLayer.build_command_line_manager base_commands_definition_file
67
68
  Climatic.bootstrap cmd_line_args: cmd_line_args, command_manager: mngr
68
69
  mngr.commands.each do |command|
@@ -44,6 +44,8 @@ module PowerStencil
44
44
  initialize_gem_plugins
45
45
  initialize_local_plugins
46
46
  require_plugins_entry_points
47
+ # Here all the command line options are known. We can turn the slop "permissive mode" back to default
48
+ ::UltraCommandLine.permissive_mode = false
47
49
  command_line_manager.definition_hash_to_commands
48
50
  register_plugins_processors
49
51
  end
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.9.7'.freeze
2
+ VERSION = '0.9.8'.freeze
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
27
 
28
- spec.add_dependency 'climatic', '~> 0.2.35'
28
+ spec.add_dependency 'climatic', '~> 0.2.38'
29
29
  spec.add_dependency 'dir_glob_ignore', '~> 0.3'
30
30
  spec.add_dependency 'universe_compiler', '~> 0.5.6'
31
31
  spec.add_dependency 'pry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_stencil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Briais
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-20 00:00:00.000000000 Z
11
+ date: 2019-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.2.35
61
+ version: 0.2.38
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.2.35
68
+ version: 0.2.38
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: dir_glob_ignore
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -329,7 +329,7 @@ metadata:
329
329
  documentation_uri: https://gitlab.com/tools4devops/power_stencil/blob/master/README.md
330
330
  source_code_uri: https://gitlab.com/tools4devops/power_stencil
331
331
  homepage_uri: https://powerstencil.brizone.org/
332
- post_install_message: "\nThank you for installing PowerStencil 0.9.7 !\nFrom the command
332
+ post_install_message: "\nThank you for installing PowerStencil 0.9.8 !\nFrom the command
333
333
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
334
334
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial Website
335
335
  \ : https://powerstencil.brizone.org/\nFull documentation here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel