aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/filesystem
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-03-19 16:56:46 +0000
committerMichael Williamson <mike@zwobble.org>2024-03-19 17:05:57 +0000
commit0908a609fc1ad35308796b0bad1e05d37bfdb331 (patch)
treeb949dd00ee0e2228862fce6fd3aacaa35be2a858 /src/main/java/org/shedlang/compiler/filesystem
parent1807d79af7cc070212d1cb307454bbcc6e132905 (diff)
Use Python script to build runtime
Diffstat (limited to 'src/main/java/org/shedlang/compiler/filesystem')
-rw-r--r--src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java7
1 files changed, 7 insertions, 0 deletions
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);
+ }
}