Do not explicitly create the config directory
The skeleton already includes it
commit13e35353637ed3c9f375e66a1e1b4161d59ccbd6
authorSridhar Ratnakumar <srid@srid.ca>
dateSat 12 May 2018, 13:34 (8 years ago)
parent9f89eae
lib/command/src/Obelisk/Command/Nix.hs+1
@@ -82,6 +82,7 @@ nixBuild cfg = do
8282 ExitSuccess -> return ()
8383 _ -> do
8484 -- FIXME: We should interleave `out` and `err` in their original order?
85+ -- TODO: Replace this with logging functions for coordinating cleanly with spinner.
8586 liftIO $ LBS.putStr =<< LBS.hGetContents out
8687 liftIO $ LBS.putStr =<< LBS.hGetContents err
8788 failWith "nix-build failed"
lib/command/src/Obelisk/Command/Project.hs−3
@@ -79,9 +79,6 @@ initProject source = do
7979 , "."
8080 ]
8181 putLog Notice "Created project skeleton."
82− let configDir = "config"
83− liftIO $ createDirectory configDir
84− liftIO $ mapM_ (createDirectory . (configDir </>)) ["backend", "common", "frontend"]
8582
8683--TODO: Handle errors
8784--TODO: Allow the user to ignore our security concerns