Update CI swift-nio-email to swift-nio-imap (#243)

* Update swift-nio-email to swift-nio-imap

* Change package name
This commit is contained in:
David Evans authored and GitHub committed 2020-07-13 18:31:43 +01:00
1 parent b0aa428e15
commit bc1e84b3b8
7 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
import PackageDescription
let package = Package(
name: "swift-nio-email",
name: "swift-nio-imap",
products: [
.library(name: "NIOIMAP", targets: ["NIOIMAP"]),
], dependencies: [
+1 -1
View File
@@ -3,7 +3,7 @@
A Swift project that provides an IMAP client and server, built upon SwiftNIO.
### Introduction and Usage
`swift-nio-email` is a Swift implementation of the IMAP4rev1 protocol (RFC3501) that can be used to write both mail clients and servers. It is built upon SwiftNIO v2.x. We'll be soon adding an SMTP implementation.
`swift-nio-imap` is a Swift implementation of the IMAP4rev1 protocol (RFC3501) that can be used to write both mail clients and servers. It is built upon SwiftNIO v2.x. We'll be soon adding an SMTP implementation.
To use the framework `import NIOIMAP`.
+3 -3
View File
@@ -3,14 +3,14 @@ version: "3"
services:
runtime-setup:
image: swift-nio-email:18.04-5.2
image: swift-nio-imap:18.04-5.2
build:
args:
ubuntu_version: "bionic"
swift_version: "5.2"
test:
image: swift-nio-email:18.04-5.2
image: swift-nio-imap:18.04-5.2
shell:
image: swift-nio-email:18.04-5.2
image: swift-nio-imap:18.04-5.2
+3 -3
View File
@@ -3,13 +3,13 @@ version: "3"
services:
runtime-setup:
image: swift-nio-email:18.04-5.3
image: swift-nio-imap:18.04-5.3
build:
args:
base_image: "swiftlang/swift:nightly-5.3-bionic"
test:
image: swift-nio-email:18.04-5.3
image: swift-nio-imap:18.04-5.3
shell:
image: swift-nio-email:18.04-5.3
image: swift-nio-imap:18.04-5.3
+2 -2
View File
@@ -6,13 +6,13 @@ version: "3"
services:
runtime-setup:
image: swift-nio-email:default
image: swift-nio-imap:default
build:
context: .
dockerfile: Dockerfile
common: &common
image: swift-nio-email:default
image: swift-nio-imap:default
depends_on: [runtime-setup]
volumes:
- ~/.ssh:/root/.ssh
+1 -1
View File
@@ -52,7 +52,7 @@ function usage() {
echo >&2 "Examples:"
echo >&2
echo >&2 "Check between master and tag 0.0.0 of swift-nio:"
echo >&2 " $0 https://github.com/apple/swift-nio-email master 0.0.0"
echo >&2 " $0 https://github.com/apple/swift-nio-imap master 0.0.0"
echo >&2
echo >&2 "Check between HEAD and commit 64cf63d7 using the provided toolchain:"
echo >&2 " xcrun --toolchain org.swift.5120190702a $0 ../some-local-repo HEAD 64cf63d7"
+6 -6
View File
@@ -61,11 +61,11 @@ module_switcher="$jazzy_dir/README.md"
jazzy_args=(--clean
--author 'SwiftNIO Team'
--readme "$module_switcher"
--author_url https://github.com/apple/swift-nio-email
--github_url https://github.com/apple/swift-nio-email
--author_url https://github.com/apple/swift-nio-imap
--github_url https://github.com/apple/swift-nio-imap
--theme fullwidth
--github-file-prefix https://github.com/apple/swift-nio-email/tree/$version
--xcodebuild-arguments -scheme,swift-nio-email-Package)
--github-file-prefix https://github.com/apple/swift-nio-imap/tree/$version
--xcodebuild-arguments -scheme,swift-nio-imap-Package)
cat > "$module_switcher" <<"EOF"
# SwiftNIO Docs
SwiftNIO contains multiple modules:
@@ -86,7 +86,7 @@ EOF
for module in "${modules[@]}"; do
args=("${jazzy_args[@]}" --output "$jazzy_dir/docs/$version/$module" --docset-path "$jazzy_dir/docset/$version/$module"
--module "$module" --module-version $version
--root-url "https://apple.github.io/swift-nio-email/docs/$version/$module/")
--root-url "https://apple.github.io/swift-nio-imap/docs/$version/$module/")
if [[ -f "$root_path/.build/sourcekitten/$module.json" ]]; then
args+=(--sourcekitten-sourcefile "$root_path/.build/sourcekitten/$module.json")
fi
@@ -104,7 +104,7 @@ if [[ $PUSH == true ]]; then
cp -r "$jazzy_dir/docs/$version" docs/
cp -r "docs/$version" docs/current
git add --all docs
echo '<html><head><meta http-equiv="refresh" content="0; url=docs/current/NIOEmail/index.html" /></head></html>' > index.html
echo '<html><head><meta http-equiv="refresh" content="0; url=docs/current/NIOIMAP/index.html" /></head></html>' > index.html
git add index.html
touch .nojekyll
git add .nojekyll