Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Conversation

@Nonchalant
Copy link
Contributor

Fix

https://github.com/httpswift/swifter/releases/tag/1.4.0 has below error.

/SwiftBot/.build/checkouts/swifter.git--4815576737049089348/Sources/MimeTypes.swift:139:17: error: cannot convert value of type 'String' to type 'NSString' in coercion
        return (self as NSString).mimeType()
                ^~~~

I replace stable branch to fix it.
https://github.com/httpswift/swifter/tree/stable

Confirmation (Docker)

$ docker build .

Dockerfile

FROM swift:4.0.3

USER root
COPY ./Sources /SKServer/Sources
COPY ./Package.swift /SKServer/Package.swift

WORKDIR /SKServer
RUN swift build

@pvzig
Copy link
Owner

pvzig commented Jul 1, 2018

Great, thanks!

@pvzig pvzig merged commit 5291e51 into pvzig:master Jul 1, 2018
@Nonchalant Nonchalant deleted the linux_compile_error branch July 3, 2018 03:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants