Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update integration specs #326

Merged
merged 1 commit into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ copy_dir()
local destination="$2"

# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}" "${destination}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}"/* "${destination}"
}

SELECT_SLICE_RETVAL=""
Expand Down Expand Up @@ -80,33 +80,6 @@ select_slice() {
done
}

install_library() {
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

# Libraries can contain headers, module maps, and a binary, so we'll copy everything in the folder over

local source="$binary"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}/*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}/*" "${destination}"
}

# Copies a framework to derived data for use in later build phases
install_framework()
{
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

if [ ! -d "$destination" ]; then
mkdir -p "$destination"
fi

copy_dir "$source" "$destination"
echo "Copied $source to $destination"
}

install_xcframework() {
local basepath="$1"
local name="$2"
Expand All @@ -129,7 +102,6 @@ install_xcframework() {
fi

copy_dir "$source/" "$destination"

echo "Copied $source to $destination"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ copy_dir()
local destination="$2"

# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}" "${destination}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}"/* "${destination}"
}

SELECT_SLICE_RETVAL=""
Expand Down Expand Up @@ -80,33 +80,6 @@ select_slice() {
done
}

install_library() {
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

# Libraries can contain headers, module maps, and a binary, so we'll copy everything in the folder over

local source="$binary"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}/*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}/*" "${destination}"
}

# Copies a framework to derived data for use in later build phases
install_framework()
{
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

if [ ! -d "$destination" ]; then
mkdir -p "$destination"
fi

copy_dir "$source" "$destination"
echo "Copied $source to $destination"
}

install_xcframework() {
local basepath="$1"
local name="$2"
Expand All @@ -129,7 +102,6 @@ install_xcframework() {
fi

copy_dir "$source/" "$destination"

echo "Copied $source to $destination"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ copy_dir()
local destination="$2"

# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}" "${destination}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}"/* "${destination}"
}

SELECT_SLICE_RETVAL=""
Expand Down Expand Up @@ -80,33 +80,6 @@ select_slice() {
done
}

install_library() {
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

# Libraries can contain headers, module maps, and a binary, so we'll copy everything in the folder over

local source="$binary"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}/*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}/*" "${destination}"
}

# Copies a framework to derived data for use in later build phases
install_framework()
{
local source="$1"
local name="$2"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"

if [ ! -d "$destination" ]; then
mkdir -p "$destination"
fi

copy_dir "$source" "$destination"
echo "Copied $source to $destination"
}

install_xcframework() {
local basepath="$1"
local name="$2"
Expand All @@ -129,7 +102,6 @@ install_xcframework() {
fi

copy_dir "$source/" "$destination"

echo "Copied $source to $destination"
}

Expand Down