Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
ede2af7a
Commit
ede2af7a
authored
Aug 05, 2017
by
Dimitris Koutsogiorgas
Committed by
Danielle Tomlinson
Aug 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge pull request #6929 from dnkoutso/delete_rsync
Do not use `--delete` when copying resources to app target folder
parent
9f5afe08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
CHANGELOG.md
CHANGELOG.md
+14
-0
copy_resources_script.rb
lib/cocoapods/generator/copy_resources_script.rb
+2
-2
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
CHANGELOG.md
View file @
ede2af7a
...
@@ -4,6 +4,20 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -4,6 +4,20 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
To install release candidates run
`[sudo] gem install cocoapods --pre`
To install release candidates run
`[sudo] gem install cocoapods --pre`
## Master
##### Enhancements
*
Show full requirement trees when a version conflict is encountered during
dependency resolution.
[
Samuel Giddins
](
https://github.com/segiddins
)
##### Bug Fixes
*
Do not use
`--delete`
when copying resources to app target folder
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6927
](
https://github.com/CocoaPods/CocoaPods/issues/6927
)
## 1.3.0 (2017-08-02)
## 1.3.0 (2017-08-02)
##### Enhancements
##### Enhancements
...
...
lib/cocoapods/generator/copy_resources_script.rb
View file @
ede2af7a
...
@@ -184,10 +184,10 @@ EOS
...
@@ -184,10 +184,10 @@ EOS
RSYNC_CALL
=
<<
EOS
RSYNC_CALL
=
<<
EOS
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -
-delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}"
--exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -
avr --copy-links --no-relative
--exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -
-delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}"
--exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -
avr --copy-links --no-relative
--exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
fi
fi
rm -f "$RESOURCES_TO_COPY"
rm -f "$RESOURCES_TO_COPY"
EOS
EOS
...
...
cocoapods-integration-specs
@
8e2ead35
Subproject commit
6b6cbeac5bbcba35369bf371b13b7e9e2ddee693
Subproject commit
8e2ead35c3933543b2fbf9d554fcd59f9da9be57
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment