mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-28 05:14:25 +00:00
Add script to list transitive dependencies (#340)
See https://github.com/apple/swift-nio/pull/2082
This commit is contained in:
1 parent
72bcaf607b
commit
ef83310fe9
2 files changed
+121
-2
No files matched your search
@@ -88,7 +88,7 @@ for target in "${targets[@]}"; do
|
||||
else
|
||||
dependencies+=( "${newline} s.dependency '$raw_dependency', '>= $nio_version', '< $next_major_version'" )
|
||||
fi
|
||||
done < <("${here}/list_topsorted_dependencies.sh" -d "${target#Swift}" | sed 's/^NIO/SwiftNIO/')
|
||||
done < <("${here}/list_transitive_dependencies.py" "${target#Swift}" | sed 's/^NIO/SwiftNIO/')
|
||||
|
||||
cat > "${tmpdir}/${target}.podspec" <<- EOF
|
||||
Pod::Spec.new do |s|
|
||||
@@ -114,8 +114,8 @@ Pod::Spec.new do |s|
|
||||
end
|
||||
EOF
|
||||
|
||||
pod repo update # last chance of getting the latest versions of previous pushed pods
|
||||
if $upload; then
|
||||
pod repo update # last chance of getting the latest versions of previous pushed pods
|
||||
echo "Uploading ${tmpdir}/${target}.podspec"
|
||||
pod trunk push "${tmpdir}/${target}.podspec" --synchronous
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user