Removed debug traces, added comment

This commit is contained in:
Alexandros Naskos 2020-05-25 11:30:12 +03:00
parent 1f23ba8490
commit f008a776e2

View File

@ -23,10 +23,11 @@ pub fn main() !void {
const stdout_stream = io.getStdOut().outStream();
// TODO: We currently add packages from every LibExeObj step that the install step depends on.
// Should we error out or keep one step or something similar?
// We also flatten them, we should probably keep the nested structure.
for (builder.getInstallStep().dependencies.items) |step| {
std.debug.warn("step.id {}\n", .{step.id});
if (step.cast(InstallArtifactStep)) |install_exe| {
std.debug.warn("libexeobj!\n", .{});
for (install_exe.artifact.packages.items) |pkg| {
try processPackage(stdout_stream, pkg);
}