- Rename "Aufgabe 5"->Aufgabe5 and "Aufgabe 6"->Aufgabe6; spaces broke bazel run (Aspect URL-encoding, scala/JVM launcher self-path). - Per-directory BUILD.bazel: Aufgabe5 (swift_binary), Aufgabe6 (swift_binary). - Aufgabe6/Third: Scala app via rules_scala (scala_library + scala_binary). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
362 B
Text
10 lines
362 B
Text
load("@rules_swift//swift:swift.bzl", "swift_binary")
|
|
|
|
# Per-directory BUILD: define targets where their sources live, then reference
|
|
# them by label (e.g. //m323/Sources/Aufgabe5:Aufgabe5) from elsewhere to keep the
|
|
# top-level BUILD.bazel uncluttered.
|
|
swift_binary(
|
|
name = "Aufgabe5",
|
|
srcs = ["main.swift"],
|
|
visibility = ["//visibility:public"],
|
|
)
|