diff --git a/Package.swift b/Package.swift index f434acc7..37d20ada 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( - name: "swift-nio-email", + name: "swift-nio-imap", products: [ .library(name: "NIOIMAP", targets: ["NIOIMAP"]), ], dependencies: [ diff --git a/README.md b/README.md index 86050d23..484b8668 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/docker/docker-compose.1804.52.yaml b/docker/docker-compose.1804.52.yaml index 65488671..dac2f632 100644 --- a/docker/docker-compose.1804.52.yaml +++ b/docker/docker-compose.1804.52.yaml @@ -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 diff --git a/docker/docker-compose.1804.53.yaml b/docker/docker-compose.1804.53.yaml index b6dec351..3649f7bb 100644 --- a/docker/docker-compose.1804.53.yaml +++ b/docker/docker-compose.1804.53.yaml @@ -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 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 6473866a..51587fb6 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -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 diff --git a/scripts/check_no_api_breakages.sh b/scripts/check_no_api_breakages.sh index e7d2a263..a16cb90b 100755 --- a/scripts/check_no_api_breakages.sh +++ b/scripts/check_no_api_breakages.sh @@ -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" diff --git a/scripts/generate_docs.sh b/scripts/generate_docs.sh index 85dfbb00..29682fca 100755 --- a/scripts/generate_docs.sh +++ b/scripts/generate_docs.sh @@ -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 '' > index.html + echo '' > index.html git add index.html touch .nojekyll git add .nojekyll