on master help sign in
Do not require Common.Api module for ob run

Simply having the common directory in scope is enough Frontend or Backend if they require it will load it by default

commit2fd781c841d2620fef9309d8f7099087d710f4fe authorLuigy Leon <luigy@outlook.com> dateFri 27 Apr 2018, 15:57 (8 years ago) parent2771243
1 file changed+2−2
lib/command/src/Obelisk/Command.hs+2−2
lib/command/src/Obelisk/Command.hs+2−2
@@ -159,8 +159,8 @@ ob = \case
159159 let dotGhci = unlines
160160 [ ":set args --quiet --port " <> show freePort
161161 , ":set -i" <> intercalate ":" (mconcat hsSrcDirs)
162− , ":add Common.Api Backend.App Frontend.App"
163− , ":module + Control.Concurrent Obelisk.Widget.Run Common.Api Frontend.App Backend.App"
162+ , ":add Backend.App Frontend.App"
163+ , ":module + Control.Concurrent Obelisk.Widget.Run Frontend.App Backend.App"
164164 ]
165165 testCmd = unlines
166166 [ "backendId <- forkIO backend"