Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Terminal/Run.gren
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -260,7 +262,7 @@ getOutputPath projectOutline =
{ outputType =
outputType
, outputPath =
fileName
".gren/" ++ fileName
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels a little iffy to hard-code this path...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but I think it's fine for now. In the next release or so we might add this folder to the Compiler.Paths module of compiler-node. Currently, the .gren folder is only used by the backend.

|> Path.fromPosixString
|> Path.prepend projectOutline.projectPath
}
Expand Down