Skip to content

Commit

Permalink
Fixing flows after extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Moya de Rivas committed Nov 2, 2020
1 parent ccd0647 commit a5db243
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/rebase-legacy-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
rebase:
name: Checkout legacy-projects and rebase
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v2

- name: Automatic Rebase
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion SwiftUIPager.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

/* Begin PBXFileReference section */
172F4D6023DF830600FD2F15 /* SwiftUIPager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftUIPager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
172F4D6123DF830600FD2F15 /* Info-macOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Info-macOS.plist"; path = "/Users/fernando.moyaderivas/Documents/Playgrounds/SwiftUIPager/SwiftUIPager/Info-macOS.plist"; sourceTree = "<absolute>"; };
172F4D6123DF830600FD2F15 /* Info-macOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-macOS.plist"; sourceTree = "<group>"; };
172F4D7823DF8A6400FD2F15 /* SwiftUIPager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftUIPager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
172F4D7B23DF8A6400FD2F15 /* Info-watchOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-watchOS.plist"; sourceTree = "<group>"; };
6B0F33DD24B4A4DE006031BE /* OnDeactivateModifier.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnDeactivateModifier.swift; sourceTree = "<group>"; };
Expand Down
File renamed without changes.
11 changes: 7 additions & 4 deletions scripts/build_xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ LIB_NAME="SwiftUIPager"
PROJ_PATH="$LIB_NAME.xcodeproj"
BUILD_PATH=".build"
FRAMEWORKS_PATH="$BUILD_PATH/frameworks"
XCFRAMEWORK_PATH="$BUILD_PATH/$LIB_NAME.xcframework"
XCFRAMEWORK_ZIP_PATH="$XCFRAMEWORK_PATH.zip"
XCFRAMEWORK_NAME="$LIB_NAME.xcframework"
XCFRAMEWORK_ZIP="$XCFRAMEWORK_NAME.zip"
XCFRAMEWORK_PATH="$BUILD_PATH/$XCFRAMEWORK_NAME"
XCFRAMEWORK_ZIP_PATH="$BUILD_PATH/$XCFRAMEWORK_ZIP"
rm $XCFRAMEWORK_ZIP_PATH

SCHEMES=( SwiftUIPager_Catalyst SwiftUIPager_macOS SwiftUIPager_iOS SwiftUIPager_watchOS SwiftUIPager_tvOS )
Expand Down Expand Up @@ -46,6 +48,7 @@ done
COMMAND="$COMMAND -output $XCFRAMEWORK_PATH"
$COMMAND | xcpretty
rm -rd $FRAMEWORKS_PATH
zip -r $XCFRAMEWORK_ZIP_PATH $XCFRAMEWORK_PATH
rm -rd $XCFRAMEWORK_PATH
cd $BUILD_PATH
zip -r -X $XCFRAMEWORK_ZIP $XCFRAMEWORK_NAME
rm -rd $XCFRAMEWORK_NAME
echo ::set-output name=path::$XCFRAMEWORK_ZIP_PATH

0 comments on commit a5db243

Please sign in to comment.