From 789dc8f607b5211bbc01c2d2ebe6b3b662f4217d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Sodi=C4=87?= Date: Mon, 24 Oct 2022 23:40:28 +0200 Subject: [PATCH] Add skeleton comment --- waspc/cli/src/Wasp/Cli/Command/CreateNewProject.hs | 1 + waspc/src/Wasp/Util.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/waspc/cli/src/Wasp/Cli/Command/CreateNewProject.hs b/waspc/cli/src/Wasp/Cli/Command/CreateNewProject.hs index 288fdaa4e0..3296dcada1 100644 --- a/waspc/cli/src/Wasp/Cli/Command/CreateNewProject.hs +++ b/waspc/cli/src/Wasp/Cli/Command/CreateNewProject.hs @@ -81,6 +81,7 @@ getAbsoluteWaspProjectDir (ProjectInfo projectName _) = do "Project creation failed" ("Failed to parse absolute path to wasp project dir: " ++ show err) +-- To avoid creating a new project manually, we copy the project directory skeleton from our templates. initializeProjectFromSkeleton :: Path' Abs (Dir Common.WaspProjectDir) -> IO () initializeProjectFromSkeleton absWaspProjectDir = do dataDir <- Data.getAbsDataDirPath diff --git a/waspc/src/Wasp/Util.hs b/waspc/src/Wasp/Util.hs index a760db4687..7cb07349a8 100644 --- a/waspc/src/Wasp/Util.hs +++ b/waspc/src/Wasp/Util.hs @@ -29,7 +29,7 @@ module Wasp.Util orIfNothing, orIfNothingM, kebabToCamelCase, - maybeToEither + maybeToEither, ) where