INNER CODE UNIT · Swift

memstr

skiptools/skip · Sources/SkipDrive/GradleDriver.swift:222

                memstr = maxMemory.description // raw bytes description
            }

            jvmargs += ["-Xmx\(memstr)"]

            env["GRADLE_OPTS"] = jvmargs.joined(separator: " ")
            //args += ["-Dorg.gradle.jvmargs=" + jvmargs.joined(separator: " ")]

        }

        for testResultFolder in testResultFolders {
            #if os(macOS)
            try? FileManager.default.trashItem(at: testResultFolder, resultingItemURL: nil) // remove the test folder, since a build failure won't clear it and it will appear as if the tests ran successfully
            #else
            try? FileManager.default.removeItem(atPath: testResultFolder.path)
            #endif
        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…