mirror of
https://github.com/wasp-lang/wasp.git
synced 2025-01-06 01:06:45 +03:00
13 lines
271 B
Haskell
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>"
|