ob init: Create config dirs
commit24d0d54aaa8c1ee90ec9fbdad16bb59662da6bd2
authorLuigy Leon <luigy@outlook.com>
dateMon 7 May 2018, 16:53 (8 years ago)
parent93e3adb
lib/command/src/Obelisk/Command/Project.hs+3−1
@@ -76,7 +76,9 @@ initProject source = do
7676 , skeleton </> "."
7777 , "."
7878 ]
79− return ()
79+ let configDir = "config"
80+ createDirectory configDir
81+ mapM_ (createDirectory . (configDir </>)) ["backend", "common", "frontend"]
8082
8183--TODO: Handle errors
8284--TODO: Allow the user to ignore our security concerns