mirror of
https://github.com/devicekit/DeviceKit.git
synced 2026-05-17 10:20:34 +00:00
Also update the gyb file
This commit is contained in:
committed by
Dennis Weissmann
parent
109010a9ea
commit
b2f1a326cf
@@ -271,7 +271,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "./Utils/gyb --line-directive '' -o ./Source/Device.generated.swift ./Source/Device.swift.gyb";
|
||||
shellScript = "./Utils/gyb --line-directive '' -o ./Source/Device.generated.swift ./Source/Device.swift.gyb\n";
|
||||
};
|
||||
6D76661D1F1A083A00F59630 /* Run SwiftLint */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
@@ -285,7 +285,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
||||
@@ -851,8 +851,8 @@ extension Device {
|
||||
|
||||
/// Return the root url
|
||||
///
|
||||
/// - returns: the "/" url
|
||||
private static let rootURL = URL(fileURLWithPath: "/")
|
||||
/// - returns: the NSHomeDirectory() url
|
||||
private static let rootURL = URL(fileURLWithPath: NSHomeDirectory())
|
||||
|
||||
/// The volume’s total capacity in bytes.
|
||||
public static var volumeTotalCapacity: Int? {
|
||||
|
||||
Reference in New Issue
Block a user