We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aff984 commit 6dc0fccCopy full SHA for 6dc0fcc
Sources/UnidocServer/Operations/Procedures/Unidoc.BuildArtifact (ext).swift
@@ -1,4 +1,5 @@
1
import HTTPServer
2
+import LZ77
3
import S3
4
import S3Client
5
@@ -42,6 +43,11 @@ extension Unidoc.BuildArtifact
42
43
else
44
{
45
Log[.warning] = "No destination bucket configured for exporting build logs!"
46
+ for log:Unidoc.BuildLog in self.logs
47
+ {
48
+ print(String.init(decoding: try Gzip.extract(from: log.text.bytes),
49
+ as: Unicode.UTF8.self))
50
+ }
51
}
52
53
0 commit comments