From 07f659df1466934fb129df8145cc1a3565dd55e2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 20 Jun 2023 18:33:14 +0100 Subject: Separate target directory by backend --- src/main/java/org/shedlang/compiler/ShedCompiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/shedlang/compiler/ShedCompiler.java') diff --git a/src/main/java/org/shedlang/compiler/ShedCompiler.java b/src/main/java/org/shedlang/compiler/ShedCompiler.java index ebf97bdc..3aedc946 100644 --- a/src/main/java/org/shedlang/compiler/ShedCompiler.java +++ b/src/main/java/org/shedlang/compiler/ShedCompiler.java @@ -70,7 +70,7 @@ public class ShedCompiler { namespaces.put(namespaceName, instructions); } - backend.compile(config, namespaces, typeCheckerContext.toTypeInfo()); + backend.compile(config, namespaces, typeCheckerContext.toTypeInfo(), config.targetDir().resolve(backend.name())); } private List collectSourceFilePaths(Path sourceRoot) throws IOException { -- cgit v1.2.3