Sha256: 655a044b5a5614f44393ae54b40bac6ccce30be204a52d32f072fee0ee43406f

Contents?: true

Size: 884 Bytes

Versions: 19

Compression:

Stored size: 884 Bytes

Contents

module Xcake
  class Target
    def parent_configurable
      @project
    end

    def default_settings
      {
        'INFOPLIST_FILE' => "#{name}/Supporting Files/Info.plist"
      }
    end

    def default_debug_settings
      Xcake::Constants
        .common_build_settings(:debug,
                               platform,
                               deployment_target.to_s,
                               type,
                               language)
        .merge!(default_settings)
        .merge('SWIFT_OPTIMIZATION_LEVEL' => '-Onone')
    end

    def default_release_settings
      Xcake::Constants
        .common_build_settings(:release,
                               platform,
                               deployment_target.to_s,
                               type,
                               language)
        .merge!(default_settings)
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
xcake-0.13.0 lib/xcake/dsl/target/configurable.rb
xcake-0.12.1 lib/xcake/dsl/target/configurable.rb
xcake-0.12.0 lib/xcake/dsl/target/configurable.rb
xcake-0.11.0 lib/xcake/dsl/target/configurable.rb
xcake-0.10.0 lib/xcake/dsl/target/configurable.rb
xcake-0.9.4 lib/xcake/dsl/target/configurable.rb
xcake-0.9.3 lib/xcake/dsl/target/configurable.rb
xcake-0.9.2 lib/xcake/dsl/target/configurable.rb
xcake-0.9.1 lib/xcake/dsl/target/configurable.rb
xcake-0.9.0 lib/xcake/dsl/target/configurable.rb
xcake-0.8.13 lib/xcake/dsl/target/configurable.rb
xcake-0.8.12 lib/xcake/dsl/target/configurable.rb
xcake-0.8.10 lib/xcake/dsl/target/configurable.rb
xcake-0.8.9 lib/xcake/dsl/target/configurable.rb
xcake-0.8.8 lib/xcake/dsl/target/configurable.rb
xcake-0.8.7 lib/xcake/dsl/target/configurable.rb
xcake-0.8.6 lib/xcake/dsl/target/configurable.rb
xcake-0.8.3 lib/xcake/dsl/target/configurable.rb
xcake-0.8.1 lib/xcake/target/configurable.rb