aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/filesystem
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-18 12:15:46 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-18 12:15:46 +0100
commit9e08a99b327c7d704f533e3535b77a1bbdc04919 (patch)
treebe0fc9ced28cfec9f14b315e80f5c5fb7d6d45c5 /src/main/java/org/shedlang/compiler/filesystem
parent0272455c8bb06d5c63220172b2888510aeb7f40b (diff)
Run examples automatically
Diffstat (limited to 'src/main/java/org/shedlang/compiler/filesystem')
-rw-r--r--src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java13
1 files changed, 13 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
new file mode 100644
index 00000000..62e61567
--- /dev/null
+++ b/src/main/java/org/shedlang/compiler/filesystem/ShedCompilerFiles.java
@@ -0,0 +1,13 @@
+package org.shedlang.compiler.filesystem;
+
+import java.nio.file.Path;
+
+public class ShedCompilerFiles {
+ private ShedCompilerFiles() {
+ }
+
+ public static Path getRoot() {
+ // TODO: don't assume we're in the project root
+ return Path.of(".");
+ }
+}