INNER CODE UNIT · Swift

inputFiles

skiptools/skip · Plugins/SkipPlugin/SkipPlugin.swift:232

        var inputFiles: [Path] = [target.directory] + target.sourceFiles.map(\.path)

        for dep in deps {
            guard let depTarget = dep.target as? SourceModuleTarget else {
                // only consider source module targets
                continue
            }

            if skipRootTargetNames.contains(depTarget.name) {
                continue
            }

            let hasSkipConfig = FileManager.default.isReadableFile(atPath: depTarget.directory.appending("Skip", "skip.yml").string)

            // ignore non-Skip-enabled dependency modules, based on the existance of the SRC/MODULE/Skip/skip.yml file
            if !hasSkipConfig {
                continue
            }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…