<commit_before>// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "PINCache",
    platforms: [
        .macOS(.v10_10),
        .iOS(.v9),
        .watchOS(.v2),
        .tvOS(.v9)
    ],
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
        .library(
            name: "PINCache",
            targets: ["PINCache"]),
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/pinterest/PINOperation.git", from: "1.2.0"),
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "PINCache",
            dependencies: ["PINOperation"],
            path: "Source",
            exclude: ["Info.plist"],
            publicHeadersPath: "."),
        .testTarget(
            name: "PINCacheTests",
            dependencies: ["PINCache"],
            path: "Tests",
            exclude: ["Info.plist"],
            resources: [.process("Default-568h@2x.png")],
            cSettings: [
                .define("TEST_AS_SPM"),
            ]),
    ]
)<commit_msg>Asserts are enabled in release when using Swift Package Manager<commit_after>// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "PINCache",
    platforms: [
        .macOS(.v10_10),
        .iOS(.v9),
        .watchOS(.v2),
        .tvOS(.v9)
    ],
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
        .library(
            name: "PINCache",
            targets: ["PINCache"]),
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/pinterest/PINOperation.git", from: "1.2.0"),
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "PINCache",
            dependencies: ["PINOperation"],
            path: "Source",
            exclude: ["Info.plist"],
            publicHeadersPath: "."),
            cSettings: [
                .define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release)),
            ]),
        .testTarget(
            name: "PINCacheTests",
            dependencies: ["PINCache"],
            path: "Tests",
            exclude: ["Info.plist"],
            resources: [.process("Default-568h@2x.png")],
            cSettings: [
                .define("TEST_AS_SPM"),
                .define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release)),
            ]),
    ]
)
{'fraction_non_alphanumeric': 0.12674384090234492, 'fraction_numerical': 0.011872959335114277, 'mean_word_length': 1.9329852045256746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6384226', 'n_tokens_mistral': 934, 'n_tokens_neox': 894, 'n_words': 278}