This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time lux build \ | |
--bob-url $BOB_URL \ | |
--zipped-snapshot-override-id 4~BcuRugAGrhk4_9SJsZGK5Rjy3D1whbNsVuTJaQw= \ | |
--train XBSTwentyOneDotFiveRome \ | |
--snapshot-update XBSTwentyOneDotFiveRome2122B185 \ | |
--projects Phaser xbsdispatch CoreXBS BuildInfraPackages \ | |
--build-sandbox-state disabled \ | |
--build-system photon \ | |
--source-layout xbsProject \ | |
--disable-function-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
/// Helper for creating HTML document in Swift using resultbuilders. | |
package struct HTML: HTML.Tag { | |
package protocol Tag { | |
var elementName: String { get } | |
} | |
package let elementName: String = "html" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["swift", "build"], | |
"keyfiles": ["Package.swift"], | |
"variants": [ | |
{ | |
"name": "release", | |
"cmd": ["swift", "build", "-c", "release"] | |
}, | |
{ | |
"name": "test", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct StringCodingKey: CodingKey { | |
var stringValue: String | |
init(stringValue: String) { | |
self.stringValue = stringValue | |
} | |
var intValue: Int? { return nil } | |
init?(intValue: Int) { fatalError() } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# Standard library imports. | |
from SocketServer import ThreadingMixIn | |
import BaseHTTPServer | |
import SimpleHTTPServer | |
import sys | |
import json | |
import os | |
from os.path import (join, exists, dirname, abspath, isabs, sep, walk, splitext, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
NINJA_RELEASE_ASSERT_DIR="${HOME}/Documents/workspaces/xcode/github/apple/build/Ninja-ReleaseAssert" | |
SOURCE_ROOT="${HOME}/Documents/workspaces/xcode/github/apple" | |
echo "Updating sources (except SwiftPM)" | |
${SOURCE_ROOT}/swift/utils/update-checkout --skip-repository swiftpm | |
echo "Done updating sources" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol DumbTerminalProtocol { | |
func write(_ string: String) | |
func endLine() | |
func flush() | |
} | |
protocol RichTerminalProtocol: DumbTerminalProtocol { | |
var width: Int { get } | |
func clearLine() | |
func moveCursor(y: Int) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import pipes | |
import subprocess | |
import sys | |
import lit.Test | |
import lit.TestRunner | |
import lit.formats.base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
if [ -z "${CONFIGURATION}" ]; then | |
CONFIGURATION=debug | |
fi | |
PLATFORM='unknown' | |
unamestr=`uname` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client: | |
name: swift-build | |
tools: {} | |
targets: | |
test: [] | |
default: [<SeaExec.module>, <SeaLib.Foo>, <SeaLib.Bar>, <SeaExec.exe>, <SeaLib.module>] | |
commands: | |
/Users/aciid/mycode/swiftpmProjects/SwiftCMixed/.build/debug/SeaExec.build: | |
tool: mkdir | |
outputs: [/Users/aciid/mycode/swiftpmProjects/SwiftCMixed/.build/debug/SeaExec.build] |
NewerOlder