Commit 8553920f authored by Drew's avatar Drew

Linux port to Swift Preview 6

parent 5f0e82e7
......@@ -60,7 +60,7 @@ public class CarolineCoreEngine : CarolineEngine {
}
print("-----------------------")
#if !swift(>=3.0)
#if !swift(>=3.0) || os(Linux)
srand(UInt32(time(nil)))
let rand_int = rand()
#else
......
FROM drewcrawford/swift:latest
FROM drewcrawford/buildbase:latest
#install atbuild
RUN apt-get update && apt-get install --no-install-recommends curl ca-certificates -y
RUN curl -s -L https://packagecloud.io/install/repositories/anarchytools/AT/script.deb.sh | bash
RUN apt-get install atbuild -y
RUN apt-get update && apt-get install atbuild
ADD . /Caroline
WORKDIR Caroline
RUN atbuild check
\ No newline at end of file
RUN atbuild coretest
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment