Skip to content

Commit d44b762

Browse files
committed
we don't use swiftly in docker, remove the script
1 parent 8794b66 commit d44b762

File tree

3 files changed

+3
-37
lines changed

3 files changed

+3
-37
lines changed

Tests/JExtractSwiftTests/FuncCallbackImportTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ final class FuncCallbackImportTests {
241241

242242
@Test("Import: public func withBuffer(body: (UnsafeRawBufferPointer) -> Int)")
243243
func func_withBuffer_body() throws {
244-
let st = Swift2JavaTranslator(
245-
swiftModuleName: "__FakeModule"
246-
)
244+
var config = Configuration()
245+
config.swiftModule = "__FakeModule"
246+
let st = Swift2JavaTranslator(config: config)
247247
st.log.logLevel = .error
248248

249249
try st.analyze(file: "Fake.swift", text: Self.class_interfaceFile)

docker/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ ENV LANG=en_US.UTF-8
1919
ENV LANGUAGE=en_US.UTF-8
2020

2121
COPY install_jdk.sh .
22-
COPY install_swiftly.sh .
2322

2423
# JDK dependency
2524
RUN bash -xc 'JDK_VENDOR=Corretto ./install_jdk.sh'
2625
ENV JAVA_HOME="/usr/lib/jvm/default-jdk"
2726
ENV PATH="$PATH:/usr/lib/jvm/default-jdk/bin"
28-
29-
# Install Swift with Swiftly
30-
# RUN bash -xc './install_swiftly.sh'

docker/install_swiftly.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)