Skip to content

Commit 4341d76

Browse files
author
Sanel Zsivics
committed
Create common script for generating acknowledgements plist
1 parent 8a17555 commit 4341d76

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Strato/Licences.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
require 'fileutils'
2+
3+
class Licences
4+
5+
def self.generateCleanAcknowledgementsPlist(target, path)
6+
puts "Generating acknowledgements with dependencies from " + target.name
7+
8+
source = 'Pods/Target Support Files/' + target.name + '/' + target.name + '-acknowledgements.plist'
9+
FileUtils.cp_r(source, path, :remove_destination => true)
10+
11+
expand_path = File.expand_path(path)
12+
13+
# See https://smartmobilefactory.atlassian.net/browse/STRFRAMEWORK-2640
14+
`swift Submodules/SMF-iOS-CommonProjectSetupFiles/Strato/cleanLicences.swift #{expand_path}`
15+
end
16+
17+
end

0 commit comments

Comments
 (0)