Skip to content

Commit

Permalink
Merge pull request #408 from Jag-Marcel/copyright-template
Browse files Browse the repository at this point in the history
File Template with Copyright Header
  • Loading branch information
andrewtavis committed Mar 30, 2024
2 parents 2a1add8 + b27ad00 commit 7de118f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ScribeTemplates/ScribeHeader.xctemplate/TemplateInfo.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Identifier</key>
<string>com.example.templates.mytemplate</string>
<key>Kind</key>
<string>Xcode.IDEKit.TextSubstitutionFileTemplateKind</string>
<key>Ancestors</key>
<array>
<string>com.apple.dt.unit-test-class</string>
</array>
</dict>
</plist>

18 changes: 18 additions & 0 deletions ScribeTemplates/ScribeHeader.xctemplate/___FILEBASENAME___.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* [Describe what you want to do with your file here]
*
* Copyright (C) 2023 Scribe
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

0 comments on commit 7de118f

Please sign in to comment.