From 98564d4d1efdebc4d1d90d1cf7c081f8137ffb51 Mon Sep 17 00:00:00 2001 From: Justin Blake Date: Wed, 30 Jul 2025 05:57:10 -0400 Subject: [PATCH] Put `gren run` output under `.gren` dir Fixes https://github.com/gren-lang/compiler/issues/316 --- src/Terminal/Run.gren | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Terminal/Run.gren b/src/Terminal/Run.gren index 13ee63b5..80f19fd8 100644 --- a/src/Terminal/Run.gren +++ b/src/Terminal/Run.gren @@ -187,7 +187,9 @@ run config = let getOutline = config.path + -- compiled to [project path]/.gren/filename |> Path.parentPath + |> Maybe.andThen Path.parentPath |> Maybe.withDefault (Path.fromPosixString ".") |> getProjectOutline config.fsPermission in @@ -260,7 +262,7 @@ getOutputPath projectOutline = { outputType = outputType , outputPath = - fileName + ".gren/" ++ fileName |> Path.fromPosixString |> Path.prepend projectOutline.projectPath }