SwiftExecutableIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename `swift-executable` to `swift-application`

This commit also rename everything that implies Swift executable as in

an application.

    • -644
    • +0
    ./SwiftExecutableIntegrationTest.groovy
  1. … 32 more files in changeset.
Add test coverage for incremental builds with Swift projects

    • -0
    • +73
    ./SwiftExecutableIntegrationTest.groovy
  1. … 1 more file in changeset.
Refactor Swift test fixtures to remove the wrapping/delegating methods

    • -33
    • +26
    ./SwiftExecutableIntegrationTest.groovy
  1. … 29 more files in changeset.
Added `moduleFile` property to `SwiftCompile` task type, to make explicit that the task produces object files and a module file as outputs.

Changed the default location of the Swift module file so that it is not mixed in with the object files.

    • -0
    • +5
    ./SwiftExecutableIntegrationTest.groovy
  1. … 12 more files in changeset.
Add queryable properties to Swift binaries

    • -0
    • +67
    ./SwiftExecutableIntegrationTest.groovy
  1. … 21 more files in changeset.
Merged `AbstractNativeCompileTask.objectFileDirectory` property into `objectFileDir`, changing its type to `DirectoryVar`. This is a breaking change.

    • -1
    • +1
    ./SwiftExecutableIntegrationTest.groovy
  1. … 18 more files in changeset.
Fixed some broken int tests.

    • -3
    • +3
    ./SwiftExecutableIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed the Swift executable plugin to add an install task for the release variant.

    • -40
    • +45
    ./SwiftExecutableIntegrationTest.groovy
  1. … 4 more files in changeset.
Added some test coverage to demonstrate that each variant of a Swift component can be compiled with different compiler args.

    • -3
    • +50
    ./SwiftExecutableIntegrationTest.groovy
  1. … 4 more files in changeset.
Changed the Swift plugins so the variant of a library is selected by dependency resolution based on the consuming variant. That is, when building the debug variant of an executable, the debug variant of each dependency is used.

    • -0
    • +29
    ./SwiftExecutableIntegrationTest.groovy
  1. … 6 more files in changeset.
Add no source test coverage for swift executable and library

    • -0
    • +13
    ./SwiftExecutableIntegrationTest.groovy
  1. … 2 more files in changeset.
Changed the Swift library and executable plugins to produce debug and release variants of the library or executable.

Currently, both variants share the same dependencies, which means that the debug variant of a library is always selected regardless of which variant of the consuming component is being built.

Also added some modelling of XCTest suites.

    • -39
    • +39
    ./SwiftExecutableIntegrationTest.groovy
  1. … 22 more files in changeset.
Use DSL convenience instead of `set()` method to set value of some properties in tests.

    • -4
    • +4
    ./SwiftExecutableIntegrationTest.groovy
  1. … 6 more files in changeset.
Fixed some int tests for change to output file names for Swift components.

    • -3
    • +3
    ./SwiftExecutableIntegrationTest.groovy
  1. … 1 more file in changeset.
Allow the Swift module name for a component to be specified on the `library` or `executable` extension. Also changed the default module name to be the capitalized project name (it was the project name previously).

    • -35
    • +57
    ./SwiftExecutableIntegrationTest.groovy
  1. … 11 more files in changeset.
Changed the C++ library plugin to allow the library source files to be declared, in similar way to the Swift library plugin.

    • -1
    • +5
    ./SwiftExecutableIntegrationTest.groovy
  1. … 4 more files in changeset.
Changed the behaviour of the Swift plugins so that the convention for where to find the source files is applied only if no source files or directories are specified by the build logic. Previously, it was applied _in addition to_ the locations explicitly specified.

    • -4
    • +5
    ./SwiftExecutableIntegrationTest.groovy
  1. … 9 more files in changeset.
Added some more test coverage for defining the source files of a Swift component.

    • -2
    • +74
    ./SwiftExecutableIntegrationTest.groovy
Changed the Swift executable and library plugins to add an `executable` or `library` extension to the project to allow the source files of the component to be configured by build logic.

    • -2
    • +57
    ./SwiftExecutableIntegrationTest.groovy
  1. … 8 more files in changeset.
Renamed and tweaked the Swift with multiple modules test app.

    • -7
    • +7
    ./SwiftExecutableIntegrationTest.groovy
  1. … 7 more files in changeset.
Busted up the app + 2 libraries Swift test app into several reusable pieces.

    • -29
    • +29
    ./SwiftExecutableIntegrationTest.groovy
  1. … 5 more files in changeset.
Busted up the Swift hello-world app further into some reusable pieces.

    • -5
    • +3
    ./SwiftExecutableIntegrationTest.groovy
  1. … 10 more files in changeset.
Busted up the Swift hello-world app further into some reusable pieces.

    • -15
    • +16
    ./SwiftExecutableIntegrationTest.groovy
  1. … 16 more files in changeset.
Changed the C++ and Swift library plugins to wire up the outgoing artifacts of the project in a more reliable way that honors changes to the buildDir and other configuration. Uses `Provider` instances representing the various task outputs to define the artifacts.

    • -0
    • +39
    ./SwiftExecutableIntegrationTest.groovy
  1. … 3 more files in changeset.
Changed the Swift plugins to wire up the compile, link and install tasks so that they respect changes to the build directory and the output locations of the other tasks.

    • -2
    • +49
    ./SwiftExecutableIntegrationTest.groovy
  1. … 5 more files in changeset.
Rename `swift-module` to `swift-library`

    • -5
    • +5
    ./SwiftExecutableIntegrationTest.groovy
  1. … 12 more files in changeset.
Some tweaks to test case names.

    • -1
    • +1
    ./SwiftExecutableIntegrationTest.groovy
Automatically add the right import for Swift fixture app

There is still some work to be done in order to dissociate from native

(C/C++) fixture app. At least this remove the hack for adding the right

import statement. It also rename project to use lower case naming.

    • -41
    • +37
    ./SwiftExecutableIntegrationTest.groovy
  1. … 3 more files in changeset.
Initial Support for Swift in Current Model (#2284)

Spike Swift compilation for executable and module (shared library) with dependency management and composite build support.

    • -0
    • +177
    ./SwiftExecutableIntegrationTest.groovy
  1. … 41 more files in changeset.