Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
var __defProp = Object.defineProperty; | |
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | |
var __publicField = (obj, key, value) => { | |
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | |
return value; | |
}; | |
(function() { | |
"use strict"; | |
function toCamelCase(str) { | |
return str.toLowerCase().replace(/-+(.)/g, (s, char) => char.toUpperCase()); |
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
require 'xcodeproj' | |
desc "Errors if the project contains build settings" | |
task :check_empty_build_settings do | |
project = Xcodeproj::Project.open(PROJECT_PATH) | |
elements_with_settings = [] | |
# Project | |
project | |
.build_configurations |
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 ProjectDescription | |
let project = Project(name: "HelloWorld", | |
schemes: [ | |
/* Project schemes are defined here */ | |
Scheme(name: "HelloWorld", | |
shared: true, | |
buildAction: BuildAction(targets: ["HelloWorld"])), | |
], | |
settings: Settings(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
import ProjectDescription | |
let project = Project(name: "website", | |
schemes: [ | |
/* Project schemes are defined here */ | |
Scheme(name: "website", | |
shared: true, | |
buildAction: BuildAction(targets: ["website"])), | |
], | |
settings: Settings(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
let branch = "release/1.0.0" | |
try utils.git.createBranch(branch) | |
try utils.shell.runAndPrint(bash: "swift build") | |
try utils.git.addAll() | |
try utils.git.commitAll(message: "[\(branch)] Bump version") | |
try utils.git.tag(version) | |
try utils.git.push(remote: "origin", branch: branch, tags: true) |
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
// Sakefile | |
Sake<Task> { | |
$0.beforeEach { | |
// Do something | |
} | |
$0.afterAll { | |
// Do something | |
} | |
}.run() |
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
sake tasks |
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
sake task name |
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
sake generate-xcodeproj |
NewerOlder