diff --git a/src/Terminal/Init.gren b/src/Terminal/Init.gren index f10e982d..dc4924ee 100644 --- a/src/Terminal/Init.gren +++ b/src/Terminal/Init.gren @@ -239,6 +239,11 @@ generateGrenJson config projectPath deps = in Path.append (Path.fromPosixString "gren.json") projectPath |> FileSystem.writeFile config.fsPermission (Bytes.fromString encodedOutline) + |> Task.andThen + (\_ -> + Path.append (Path.fromPosixString "src") projectPath + |> FileSystem.makeDirectory config.fsPermission { recursive = False } + ) |> Task.mapError FileSystemFailure |> Task.map (\_ -> newOutline) )