add all agora types
This commit is contained in:
parent
9a26439397
commit
538e809d2c
8 changed files with 145 additions and 7 deletions
|
|
@ -1,4 +1,28 @@
|
|||
module Main (main) where
|
||||
|
||||
import Language.PureScript.Bridge (
|
||||
buildBridge,
|
||||
defaultBridge,
|
||||
writePSTypes,
|
||||
)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
import Control.Monad (unless)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
import AgoraTypes (agoraTypes)
|
||||
import Options (Options (..), parseOptions)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
main :: IO ()
|
||||
main = return ()
|
||||
main = do
|
||||
options <- parseOptions
|
||||
|
||||
unless options.quiet $ do
|
||||
putStrLn $ "Writing purescript stuff to " <> options.output
|
||||
putStrLn ""
|
||||
|
||||
writePSTypes options.output (buildBridge defaultBridge) agoraTypes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue