Commit Graph
36 Commits
Author SHA1 Message Date
Gil 341312b15d style.sh generated changes (#4140)
* style.sh generated changes

* Fix style.sh detection of swift formatting issues
2019-10-23 10:58:50 -07:00
Paul Beusterien ac333d1822 Use the ZipBuilder as a template to make a Firebase Pod updater (#4064) 2019-10-18 11:03:21 -07:00
Maksym Malyhin 209c90b46e ZipBuilder: move ManifestReader to a separate package to be reusable. (#3880)
* ZipBuilder: move release manifest to a separate package to be reusable.

* ZipBuilder: Remove unnecessary products definitions.

* Move FirebaseSDKs.proto to Sources/ManifestReader

* Update README for protobuf.
2019-09-18 17:30:47 -04:00
Ryan Wilson 5bfd69c514 Fix release candidate parsing naming (#3879) 2019-09-18 14:35:35 -04:00
Ryan Wilson 6be7fc0d7d Fix relative path for headers. (#3872)
* Fix relative path for headers.

* Style fixes.
2019-09-17 13:23:21 -04:00
Ryan Wilson 944a1540a2 Fix file prefix on CI. (#3868) 2019-09-16 23:36:58 -04:00
Ryan Wilson 4cc54502f5 Add argument for build root override. (#3864)
This will allow CI to give a directory on a volume that has more storage
space, allowing the build to succeed.
2019-09-16 13:56:39 -04:00
Ryan Wilson 0a72c7251b Allow Zip build to continue if Carthage fails. (#3863) 2019-09-16 10:38:26 -04:00
Ryan Wilson ab7897232f Update packaging of MLKit pods. (#3731)
This removes some unnecessary code due to previously duplicated
frameworks, woo!
2019-08-30 13:24:34 -04:00
Ryan Wilson 9d54dcce43 Rename carthage directory when there's no RC number (#3674)
This should prevent unintentional overrides during CI runs.
2019-08-23 17:14:25 -04:00
Ryan Wilson 146d4ce4cd Properly pass carthage flag to CD. (#3671) 2019-08-23 16:26:05 -04:00
Ryan Wilson 937a736497 Remove support for cached zip builds. (#3574)
* Remove support for cached zip builds.

This never really worked that well, and isn't used since we're now
building the zip file on Kokoro. Quick iterations can be handled with
changing the `podsToInstall` variable leaving this code outdated and
unnecessary.

* Remove unnecessary initializer.
2019-08-23 15:03:13 -04:00
Ryan Wilson dfa645ead1 Use different modulemap for Carthage. (#3636)
* Use different modulemap for Carthage.

The zip file and Carthage distribution use different modulemaps - use
the correct one for Carthage. Will address #3578 once this is used in
generating the next Carthage release.

* Fix style
2019-08-20 12:30:06 -04:00
Ryan Wilson b3c1c2183a Fix Zip builder in Xcode 10.1 (#3598) 2019-08-14 19:03:29 -04:00
Ryan Wilson e3f5dd8265 Add option to generate Carthage build. (#3517)
* Add option to generate Carthage build.

Still a few things to do here, but the structure is there.

* Revert unused changes.

* Further Carthage work.

* Hashing the contents of the directory for naming.

* Update README for Carthage.

* Change hash calculation to SHA256 for Carthage naming.

* Undo accidental change

* Generate Firebase pod for Carthage

* Parsing JSON files.

* Include RC number, new output naming.

* Further iterations on getting Carthage working.

* Fix long line.

* Undo version removal.

* Proper parsing of JSON manifest.

* Fix JSON output, properly copy to outputDir.

* Replace CoreDiagnostics framework with newly built one.

* Clear output directory if it doesn't exist.

* Fix the JSON formatting.

* Added newline before closing JSON.
2019-08-12 21:32:25 -04:00
Ryan Wilson 808745703e Fix OTHER_CFLAGS in zip build. (#3497)
* Fix OTHER_CFLAGS in zip build.

* s/extra/other/g
2019-08-02 16:51:38 -07:00
davidair b6620d241c Changing the Zip Builder to support the new open-source FirebaseCoreDiagnostics (#3461) 2019-07-29 17:28:50 -04:00
Ryan Wilson 6184745bee Fix compilation flags for zip builder. (#3375) 2019-07-17 13:49:04 -04:00
Ryan Wilson 8516f58d14 Ignore unreleased SDKs from release manifests. (#3374) 2019-07-17 13:31:19 -04:00
Ryan Wilson da6e8e5d00 Pass the correct compiler flag for CoreDiagnostics. (#3312)
* Pass the correct compiler flag for CoreDiagnostics.

When CoreDiagnostics is open sourced, we'll need to ensure that the
right compiler flag is passed. This doesn't add support for Carthage yet
but allows the frameworkbuilder to pass the flag for carthage as well.
An update to the zipbuilder to allow for carthage will follow shortly.

* Remove accidental change.
2019-07-08 12:49:04 -04:00
Ryan Wilson 9c129eb0a4 Use outputDir for build logs. (#2992)
* Use outputDir for build logs.

Use the already existing outputDir specified by the command line
parameters as the output directory for build logs (for frameworks that
are compiled).

* Make logsOutputDir name consistent.
2019-05-14 11:22:58 -04:00
Ryan Wilson 3177d8d6a4 Prevent xcodebuild from outputting to console. (#2983) 2019-05-12 19:54:01 -04:00
Ryan Wilson 92287432fb Add new SDKs to zip builder. (#2960)
* Add new SDKs to zip builder.

* Clarify TODO message.
2019-05-08 13:58:59 -04:00
Ryan Wilson b6f4236b7d Use correct framework names in README. (#2969) 2019-05-08 11:23:27 -04:00
Ryan Wilson f74a44d262 Fix Resources issues with builder. (#2927)
* Fix Resources issues with builder.

- Removes framework-specific code for resources
- Embeds all resources into .framework folders first to prep for
Carthage
- Extracts all resources into existing zip structure
- Fixes missing resources from cached OSS framework

* Fixed typo.
2019-05-02 19:17:40 -04:00
Ryan Wilson 68726a0949 Add GoogleSignIn to Zip file. (#2893)
This adds a top level folder for GoogleSignIn to include it in the zip
file, since Invites was removed.
2019-04-25 07:39:41 -04:00
Ryan Wilson 71ea7ff187 Copy Firebase.h and modulemap from the Firebase pod. (#2832)
Instead of having a duplicate copy in the GitHub repo, pull the
Firebase.h and modulemap directly from the packaged Firebase pod.

Fixes #2799
2019-04-15 10:26:44 -04:00
Ryan Wilson 89cc53ed49 Update FirebaseSDKs.textproto with new fields. (#2818)
* Update FirebaseSDKs.textproto with new fields.

* Update message about strip_32bits flag.
2019-04-12 11:16:23 -04:00
Paul Beusterien 1a32a1f7d3 Delete references to deprecated Crash and Invites (#2668) 2019-04-01 19:06:05 -07:00
Chen Liang bddf94e48b fix race condition that checkin can be deleted right after fetched (#2438) (#2631) 2019-03-26 10:18:02 -07:00
Ryan Wilson 291cab62c4 Fix resources packaging. (#2567) 2019-03-15 11:53:09 -07:00
Paul Beusterien 92dcff150a Changes to build m45 zip (#2561) 2019-03-15 09:40:08 -07:00
Ryan Wilson d5e197db3e Overwrite CoreDiagnostics framework with framework passed in. (#2560) 2019-03-14 16:13:19 -07:00
Ryan Wilson fabaa8b1d7 Clean the pod cache before starting. (#2554)
This prevents errors from occurring, and will also ensure that the
most recent version will be included if it was rebuilt.
2019-03-14 14:08:20 -04:00
Ryan Wilson 8c770f5bbe Use CaseIterable from Xcode 10. (#2484)
Now that Apple requires Xcode 10.1+ to submit to the App Store, we
can package the Zip file using Xcode 10.1.
2019-03-07 11:15:49 -05:00
Ryan Wilson 286e8f20a7 Introduce Zip File Builder (in Swift) (#2407)
* Introduce tooling to build the Zip file.

* Cleanup to prepare for review.

This moves argument parsing into its own file, moves some methods
into CocoaPodUtils and consolidates some related types.

* Add modulemap and Firebase.h

* Adding CoreDiagnostics, WIP

* Refactored paths into separate struct.

* Organized methods.

* Remove unused utility import.

* Properly passed in custom spec repos.

* Added licenses, outputDir argument.

* Fix the Zip command to use the working directory.

* Fixing bundles and headers being copied.

* Fixing the resources directories.

* More iterations to come closer to Released zip.

- Fixed the caching of OSS pods
- Add custom Crash objects
- Move resources around properly.

* Missing comment.

* Fix resources for MLKit and others.

* Remove unused URL extension.

* Add priorities to README, exclude Firebase.framework

* Run style.sh

* Fully ran style.sh

* Add license to files that don't have it.

* Address feedback from first review.

* Add missing custom spec repo flag.
2019-03-06 22:17:12 -05:00