Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
12d872a
better finding of license files
mredig Jun 13, 2018
65bfd69
modified my changes to be compatible with space indentation
mredig Jun 13, 2018
288bfd3
Merge pull request #1 from mathiasnagler/develop
mredig Jan 31, 2021
cdc7a42
(refactor) spm support
mredig Jan 31, 2021
5d11a58
(refactor) spm refactor progress
mredig Jan 31, 2021
7ecbbee
(fix) swift 5 update for tvos
mredig Jan 31, 2021
5ba88b0
(refactor) undid some project management changes
mredig Jan 31, 2021
0df5cb1
(fix) tests work both in xcode and spm now
mredig Jan 31, 2021
33a98f7
(refactor) adjustments to support spm
mredig Feb 1, 2021
07a2c07
(feat) support multiple input directories
mredig Feb 1, 2021
15a61c9
(fix) proper inclusion of licenses in subdirectories
mredig Feb 1, 2021
0a293f0
(nit) code clarity
mredig Feb 1, 2021
f8e6e53
(refactor) combine all licenses in alphabetical order
mredig Feb 1, 2021
35a36fb
(refactor) improved error handling and comments
mredig Feb 1, 2021
518c128
(refactor) breaking main down into smaller function chunks
mredig Feb 1, 2021
4f372f6
(nit) code organization
mredig Feb 1, 2021
f99b35b
(fix) update gitignore
mredig Feb 1, 2021
8b43804
Merge branch 'dev/mredig/generate-license-files-spm-support' into dev…
mredig Feb 1, 2021
37d11ad
(fix) tvos swift 5 build fix
mredig Feb 1, 2021
5b0418b
(fix) changed path in script to generate the license file
mredig Feb 1, 2021
c2fa199
(fix) added tvos 9 min requirement to package to match readme
mredig Feb 1, 2021
0593909
(nit) update readme
mredig Feb 1, 2021
082c970
(nit) update readme
mredig Feb 1, 2021
d95d786
(fix) updated readme with corrected script compatible with archiving
mredig Feb 1, 2021
b3238ed
(refactor) use argument parser
mredig Jul 3, 2022
2d307d1
(nit) small updates
mredig Jul 3, 2022
a916e05
(nit) remove extra line
mredig Jul 3, 2022
9afd3a9
(refactor) move license file generation to library
mredig Jul 4, 2022
c883117
(feat) add license generation as spm plugin
mredig Jul 4, 2022
4d933e3
(refactor) add plugin as package product
mredig Jul 4, 2022
ba00e19
(refactor) log directory
mredig Jul 4, 2022
ec26633
(nit) call for help
mredig Jul 4, 2022
09e9b64
(refactor) add docs
mredig Jul 4, 2022
5d37111
(refactor) update README
mredig Jul 4, 2022
c040d06
(feat) added build license file product
mredig Sep 9, 2024
3838593
(bump) arg parser dep update
mredig Sep 11, 2024
300551d
(refactor) update readme
mredig Sep 11, 2024
40afe8e
(refactor) prep for spm release
mredig Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
.build/

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 88 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/GenerateLicenseFile.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFile"
BuildableName = "GenerateLicenseFile"
BlueprintName = "GenerateLicenseFile"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFile"
BuildableName = "GenerateLicenseFile"
BlueprintName = "GenerateLicenseFile"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "/Users/mredig/Developer/SwiftyAcknowledgements/Libraries"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-o /Users/mredig/Developer/SwiftyAcknowledgements/License.plist"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFile"
BuildableName = "GenerateLicenseFile"
BlueprintName = "GenerateLicenseFile"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFileExe"
BuildableName = "GenerateLicenseFileExe"
BlueprintName = "GenerateLicenseFileExe"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFileExe"
BuildableName = "GenerateLicenseFileExe"
BlueprintName = "GenerateLicenseFileExe"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFileExe"
BuildableName = "GenerateLicenseFileExe"
BlueprintName = "GenerateLicenseFileExe"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SwiftyAcknowledgements_SwiftyAcknowledgementsTests"
BuildableName = "SwiftyAcknowledgements_SwiftyAcknowledgementsTests"
BlueprintName = "SwiftyAcknowledgements_SwiftyAcknowledgementsTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SwiftyAcknowledgements"
BuildableName = "SwiftyAcknowledgements"
BlueprintName = "SwiftyAcknowledgements"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFile"
BuildableName = "GenerateLicenseFile"
BlueprintName = "GenerateLicenseFile"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SwiftyAcknowledgementsTests"
BuildableName = "SwiftyAcknowledgementsTests"
BlueprintName = "SwiftyAcknowledgementsTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "LicenseFileGenerator"
BuildableName = "LicenseFileGenerator"
BlueprintName = "LicenseFileGenerator"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFileExe"
BuildableName = "GenerateLicenseFileExe"
BlueprintName = "GenerateLicenseFileExe"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFilePlugin"
BuildableName = "GenerateLicenseFilePlugin"
BlueprintName = "GenerateLicenseFilePlugin"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFilee"
BuildableName = "GenerateLicenseFilee"
BlueprintName = "GenerateLicenseFilee"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SwiftyAcknowledgementsTests"
BuildableName = "SwiftyAcknowledgementsTests"
BlueprintName = "SwiftyAcknowledgementsTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFilee"
BuildableName = "GenerateLicenseFilee"
BlueprintName = "GenerateLicenseFilee"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFile"
BuildableName = "GenerateLicenseFile"
BlueprintName = "GenerateLicenseFile"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "GenerateLicenseFilee"
BuildableName = "GenerateLicenseFilee"
BlueprintName = "GenerateLicenseFilee"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading