File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ DerivedData/
77.swiftpm /xcode /package.xcworkspace /contents.xcworkspacedata
88.netrc
99coverage.txt
10- TODO.md
10+ TODO.md
11+ template.swiftinterface
Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ cd $OPENGRAPH_ROOT
1515# Copy to template file
1616cp .build/debug/OpenGraph.build/OpenGraph.swiftinterface ./template.swiftinterface
1717
18- # Process the template file
19- # 1. Remove the first 5 lines
20- # 2. Remove all references of "OpenGraph_SPI."
21- # 3. Replace all references of "OpenGraph" to "AttributeGraph"
22- # 4. Replace all references of "OG" to "AG"
2318sed -i ' ' ' 1,5d' ./template.swiftinterface
19+ sed -i ' ' ' 1i\
20+ @_exported public import AttributeGraph
21+ ' ./template.swiftinterface
2422sed -i ' ' ' s/OpenGraph_SPI\.//g' ./template.swiftinterface
2523sed -i ' ' ' s/OpenGraph/AttributeGraph/g' ./template.swiftinterface
2624sed -i ' ' ' s/OG/AG/g' ./template.swiftinterface
You can’t perform that action at this time.
0 commit comments