Sha256: 89b4dae13e332da5ae8bd9a10dfcdcdf51f9041c3aecf669289072501d9673a5

Contents?: true

Size: 1.43 KB

Versions: 60

Compression:

Stored size: 1.43 KB

Contents

module OrigenAppGenerators
  module TestEngineering
    module Common
      def common_filelist(list)
        # Example of how to remove a file from the parent list
        # list.delete(:target_debug)
        # Example of how to add a file, in this case the file will be compiled and copied to
        # the same location in the new app
        list[:environment_v93k] = { source: 'environment/v93k.rb' }
        list[:environment_j750] = { source: 'environment/j750.rb' }
        list[:environment_uflex] = { source: 'environment/uflex.rb' }
        # Alternatively specifying a different destination, typically you would do this when
        # the final location is dynamic
        # list[:gemspec] = { source: 'gemspec.rb', dest: "#{@name}.gemspec" }
        # Example of how to create a directory
        # list[:pattern_dir] = { dest: 'pattern', type: :directory }
        # Example of how to create a symlink
        list[:environment_default] = { source: 'uflex.rb',           # Relative to the file being linked to
                                       dest:   'environment/default.rb', # Relative to destination_root
                                       type:   :symlink }
        # Test engineering source directories
        list[:patterns_dir] = { dest: 'app/patterns', type: :directory }
        list[:flows_dir]    = { dest: 'app/flows', type: :directory }
        # Remember to return the final list
        list
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
origen-0.59.5 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen_app_generators-2.2.0 lib/origen_app_generators/test_engineering/common.rb
origen-0.59.4 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.3 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.2 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.1 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.58.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.57.2 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.57.1 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.57.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.56.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.5 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.4 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.3 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.2 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.1 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.55.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.54.6 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.54.5 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb