diff options
Diffstat (limited to 'server/src/GenerateElmTypes.hs')
-rw-r--r-- | server/src/GenerateElmTypes.hs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/server/src/GenerateElmTypes.hs b/server/src/GenerateElmTypes.hs index e8aa25b..c85aaf3 100644 --- a/server/src/GenerateElmTypes.hs +++ b/server/src/GenerateElmTypes.hs @@ -1,13 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-orphans #-} -{-# LANGUAGE TemplateHaskell #-} -import Cafp.Messages -import Elm.Derive -import Elm.Module -import Data.Proxy - -deriveBoth defaultOptions ''ServerMessage +import qualified Cafp.Main.GenerateElmTypes main :: IO () -main = putStrLn $ makeElmModule "Messages" - [ DefineElm (Proxy :: Proxy ServerMessage) - ] +main = Cafp.Main.GenerateElmTypes.main |