diff --git a/Formula/onesignal-cli.rb b/Formula/onesignal-cli.rb index 650868d..c4b12c0 100644 --- a/Formula/onesignal-cli.rb +++ b/Formula/onesignal-cli.rb @@ -10,7 +10,7 @@ class OnesignalCli < Formula def install prefix.install 'Gemfile' - tmpl.install Dir["tmpl/*"] + include.install Dir["include/*"] lib.install Dir["lib/*"] bin.install Dir["bin/*"] end diff --git a/tmpl/iOS/objc/Info.plist b/include/iOS/objc/Info.plist similarity index 100% rename from tmpl/iOS/objc/Info.plist rename to include/iOS/objc/Info.plist diff --git a/tmpl/iOS/objc/NotificationService.h b/include/iOS/objc/NotificationService.h similarity index 100% rename from tmpl/iOS/objc/NotificationService.h rename to include/iOS/objc/NotificationService.h diff --git a/tmpl/iOS/objc/NotificationService.m b/include/iOS/objc/NotificationService.m similarity index 100% rename from tmpl/iOS/objc/NotificationService.m rename to include/iOS/objc/NotificationService.m diff --git a/tmpl/iOS/swift/Info.plist b/include/iOS/swift/Info.plist similarity index 100% rename from tmpl/iOS/swift/Info.plist rename to include/iOS/swift/Info.plist diff --git a/tmpl/iOS/swift/NotificationService.swift b/include/iOS/swift/NotificationService.swift similarity index 100% rename from tmpl/iOS/swift/NotificationService.swift rename to include/iOS/swift/NotificationService.swift diff --git a/lib/osproject_ios.rb b/lib/osproject_ios.rb index 9b75e13..ddb2510 100644 --- a/lib/osproject_ios.rb +++ b/lib/osproject_ios.rb @@ -15,11 +15,11 @@ class OSProject::IOS < OSProject attr_accessor :target_name - SWIFT_NSE_PATH = '/tmpl/iOS/swift/NotificationService.swift' - OBJC_NSE_H_PATH = '/tmpl/iOS/objc/NotificationService.h' - OBJC_NSE_M_PATH = '/tmpl/iOS/objc/NotificationService.m' - SWIFT_NSE_INFO_PLIST_PATH = '/tmpl/iOS/swift/Info.plist' - OBJC_NSE_INFO_PLIST_PATH = '/tmpl/iOS/objc/Info.plist' + SWIFT_NSE_PATH = '/include/iOS/swift/NotificationService.swift' + OBJC_NSE_H_PATH = '/include/iOS/objc/NotificationService.h' + OBJC_NSE_M_PATH = '/include/iOS/objc/NotificationService.m' + SWIFT_NSE_INFO_PLIST_PATH = '/include/iOS/swift/Info.plist' + OBJC_NSE_INFO_PLIST_PATH = '/include/iOS/objc/Info.plist' NSE_POD_DEPENDENCY = "target 'OneSignalNotificationServiceExtension' do # Comment the next line if you don\'t want to use dynamic frameworks