provider/core.rb
# Main entry point for the compiler. As this method is simply invoking other
# generators, it is okay to ignore Rubocop warnings about method size and
# complexity.
#
# rubocop:disable Metrics/AbcSize
# rubocop:disable Metrics/CyclomaticComplexity
# rubocop:disable Metrics/PerceivedComplexity
Main entry point for the compiler. As this method is simply invoking other
generators, it is okay to ignore Rubocop warnings about method size and
complexity.


Main entry point for the compiler . As this method is simply invoking other generators it is okay to ignore Rubocop warnings about method size and complexity .
def generate(output_folder, types)
      generate_objects(output_folder, types)
      generate_client_functions(output_folder) unless @config.functions.nil?
      copy_files(output_folder) \
        unless @config.files.nil? || @config.files.copy.nil?
      compile_examples(output_folder) unless @config.examples.nil?
      compile_end2end_tests(output_folder) unless @config.examples.nil?
      compile_network_data(output_folder) \
        unless @config.test_data.nil? || @config.test_data.network.nil?
      compile_changelog(output_folder) unless @config.changelog.nil?
      compile_files(output_folder) \
        unless @config.files.nil? || @config.files.compile.nil?
      apply_file_acls(output_folder) \
        unless @config.files.nil? || @config.files.permissions.nil?
      verify_test_matrixes
    end
def generate ( output_folder , types ) generate_objects ( output_folder , types ) generate_client_functions ( output_folder ) unless @config . functions . nil? copy_files ( output_folder ) unless @config . files . nil? || @config . files . copy . nil? compile_examples ( output_folder ) unless @config . examples . nil? compile_end2end_tests ( output_folder ) unless @config . examples . nil? compile_network_data ( output_folder ) unless @config . test_data . nil? || @config . test_data . network . nil? compile_changelog ( output_folder ) unless @config . changelog . nil? compile_files ( output_folder ) unless @config . files . nil? || @config . files . compile . nil? apply_file_acls ( output_folder ) unless @config . files . nil? || @config . files . permissions . nil? verify_test_matrixes end
Main entry point for the compiler.
Main entry point for the compiler .
# Compilation has to be the last step, as some files (e.g. # CONTRIBUTING.md) may depend on the list of all files previously copied # or compiled.
output_folder
<not_specific>
types
<not_specific>