rename PrettyIt to SQLIdent and add to cabal
This commit is contained in:
parent
27a1723813
commit
2ae1ced7cc
2 changed files with 21 additions and 2 deletions
tools
|
@ -3,7 +3,6 @@
|
|||
|
||||
> import Language.SQL.SimpleSQL.Pretty
|
||||
> import Language.SQL.SimpleSQL.Parser
|
||||
> import Data.List
|
||||
|
||||
> main :: IO ()
|
||||
> main = do
|
||||
|
@ -14,4 +13,4 @@
|
|||
> either (error . peFormattedError)
|
||||
> (putStrLn . prettyQueryExprs)
|
||||
> $ parseQueryExprs f Nothing src
|
||||
> _ -> error "please pass filename to prettify"
|
||||
> _ -> error "please pass filename to indent"
|
Loading…
Add table
Add a link
Reference in a new issue