Skip to content

Commit

Permalink
Rewrite generate file preamble
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Feb 14, 2019
1 parent c343867 commit a18fad4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions Sources/HAP/Base/Generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// This file has been generated automatically from macOS HAP definitions.
// Don't make changes to this file, but regenerate using `hap-update` instead.
// This file has been generated automatically from the macOS HomeKit
// framework definitions. Don't make changes to this file directly.
// Update this file using the `hap-update` tool.
//
// macOS: Version 10.14.3 (Build 18D109)
// date: 14 February 2019
// HAP Version: 718
// Generated on: 14 February 2019
// HomeKit framework version: 718
// macOS: Version 10.14.3 (Build 18D109)

import Foundation

Expand Down
11 changes: 6 additions & 5 deletions Sources/HAPUpdate/Inspector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,13 @@ public class Inspector {
let today = formatter.string(from: currentDateTime)

write("""
// This file has been generated automatically from macOS HAP definitions.
// Don't make changes to this file, but regenerate using `hap-update` instead.
// This file has been generated automatically from the macOS HomeKit
// framework definitions. Don't make changes to this file directly.
// Update this file using the `hap-update` tool.
//
// macOS: \(osVersion)
// date: \(today)
// HAP Version: \(plist["Version"] ?? "?")
// Generated on: \(today)
// HomeKit framework version: \(plist["Version"] ?? "?")
// macOS: \(osVersion)
import Foundation
Expand Down

0 comments on commit a18fad4

Please sign in to comment.