Commit df46397d authored by Drew's avatar Drew

Merge pull request #79 from AnarchyTools/required-overlays-bug

Resolve required overlays bug
parents ad1fb94c 39bd3a5a
Pipeline #1549 passed with stage
Subproject commit 1e79aacda726ab822979fe001643544b74a3f503
Subproject commit 80d55a942bc24e9f0b6ccfd9470ea9a125794bc5
......@@ -24,6 +24,7 @@ final public class TaskRunner {
static public func runTask(task: Task, package: Package, toolchain: String) {
print("Running task \(task.qualifiedName) with overlays \(task.appliedOverlays)")
try! task.checkRequiredOverlays()
let tool = toolByName(name: task.tool)
tool.run(task: task, toolchain: toolchain)
print("Completed task \(task.qualifiedName).")
......
......@@ -31,7 +31,7 @@ class XCTestRun : Tool {
let manager = NSFileManager.defaultManager()
let executablePath = workingDirectory + "/XCTestRun.xctest/Contents/MacOS"
try! manager.createDirectory(atPath: executablePath, withIntermediateDirectories: true, attributes: nil)
try! manager.copyItem(atPath: testExecutable, toPath: executablePath + "/XCTestRun")
try! manager.copyItemAtPath_SWIFTBUG(srcPath: testExecutable, toPath: executablePath + "/XCTestRun")
var s = ""
s += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
s += "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment