Skip to content

Commit

Permalink
poke at debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
quat1024 committed Jun 15, 2023
1 parent a434916 commit f3e5e1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/fabricmc/loom/ProviderGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@ private void setupSide(

reobfSrg = mappings.chooseSrg(side).reobf(mappings.fields, mappings.methods, srgFieldsMethodsAsFallback, reobfToSrg);

//TODO: debugging
if(project.hasProperty("voldeloom.debug")) {
if(project.hasProperty("voldeloom.reobf-debug")) {
Path dbgOut = project.getBuildDir().toPath().resolve("voldeloom-reobf-mappings-debug.srg");
Files.deleteIfExists(dbgOut);

Expand Down
7 changes: 0 additions & 7 deletions src/main/java/net/fabricmc/loom/newprovider/RemapperMcp.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.stream.Collectors;

public class RemapperMcp extends NewProvider<RemapperMcp> {
public RemapperMcp(Project project, LoomGradleExtension extension) {
Expand Down Expand Up @@ -87,12 +86,6 @@ public static void doIt(Path input, Path mappedJar, Srg srg, Logger log, @Nullab
log.lifecycle("] input jar: {}", input);
log.lifecycle("] mapped jar: {}", mappedJar);

//ugh
if(remapClasspath != null) {
Iterable<CharSequence> hooey = remapClasspath.stream().map(Path::toString).collect(Collectors.toList());
log.lifecycle("] remap classpath: {}", String.join(", ", hooey));
}

log.lifecycle("\\-> Performing remap");

OutputConsumerPath.Builder buildybuild = new OutputConsumerPath.Builder(mappedJar);
Expand Down

0 comments on commit f3e5e1a

Please sign in to comment.