Skip to content

Commit

Permalink
fix: xcode limitation or bug regarding the name Resources
Browse files Browse the repository at this point in the history
  • Loading branch information
SVMichael authored and michaelhenry committed Aug 16, 2022
1 parent 8cf13b0 commit d6e2197
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
run: |
gem install cocoapods
pod install --project-directory=Example
env:
DEVELOPER_DIR: /Applications/Xcode_11.app
- uses: michaelhenry/[email protected]
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
DEVELOPER_DIR: /Applications/Xcode_11.app

11 changes: 10 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ let package = Package(
name: "Prettier_swift",
dependencies: [],
resources: [
.copy("Resources")
.copy("JS/standalone.js"),
.copy("JS/parser-angular.js"),
.copy("JS/parser-flow.js"),
.copy("JS/parser-babylon.js"),
.copy("JS/parser-glimmer.js"),
.copy("JS/parser-graphql.js"),
.copy("JS/parser-html.js"),
.copy("JS/parser-markdown.js"),
.copy("JS/parser-postcss.js"),
.copy("JS/parser-typescript.js")
]),
.testTarget(
name: "Prettier_swiftTests",
Expand Down
2 changes: 1 addition & 1 deletion Prettier.swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Prettier.io wrapper for swift. An opinionated code formatter.
s.social_media_url = 'https://twitter.com/michaelhenry119'
s.ios.deployment_target = '10.0'
s.source_files = 'Sources/Prettier_swift/**/*.swift'
s.resources = 'Sources/Prettier_swift/Resources/**/*'
s.resources = 'Sources/Prettier_swift/JS/**/*'
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d6e2197

Please sign in to comment.