wasp/stic/app/Main.hs
2019-03-24 12:42:36 +01:00

13 lines
271 B
Haskell

module Main where
import System.Environment
import Lib (compile)
main :: IO ()
main = do
args <- getArgs
case args of
[waspFilePath] -> compile waspFilePath "sticWebApp" >>= either print (\_ -> print "Success!")
_ -> print "Usage: ./stic <wasp_file_path>"