From 0908a609fc1ad35308796b0bad1e05d37bfdb331 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 19 Mar 2024 16:56:46 +0000 Subject: Use Python script to build runtime --- .../java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/java/org/shedlang/compiler/filesystem') diff --git a/src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java b/src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java index 62e61567..5c195448 100644 --- a/src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java +++ b/src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java @@ -10,4 +10,11 @@ public class ShedCompilerFiles { // TODO: don't assume we're in the project root return Path.of("."); } + + public static Path targetDir(String targetName, String profileName) { + return getRoot() + .resolve("runtime/target") + .resolve(targetName) + .resolve(profileName); + } } -- cgit v1.2.3