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.60.17 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.16 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.14 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.13 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.12 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.11 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.10 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.9 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.8 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.7 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.6 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.5 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.4 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.3 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.2 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.1 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.60.0 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.8 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.7 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb
origen-0.59.6 origen_app_generators/lib/origen_app_generators/test_engineering/common.rb