mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
Bad args to execStr.
This commit is contained in:
parent
6bce3b1ee1
commit
2ac01a1c3e
@ -115,8 +115,8 @@ main = do setLocaleEncoding utf8
|
||||
putStrLn "Evaluate (help) for more information."
|
||||
snd <$> runRepl ctx
|
||||
Build -> execStr "Compiler (Build)" "(build)" ctx
|
||||
Install thing -> execStr ("(load \"" ++ thing ++ "\")") "Installation" ctx
|
||||
BuildAndRun -> execStr "(do (build) (run))" "Compiler (Build & Run)" ctx
|
||||
Install thing -> execStr "Installation" ("(load \"" ++ thing ++ "\")") ctx
|
||||
BuildAndRun -> execStr "Compiler (Build & Run)" "(do (build) (run))" ctx
|
||||
Check -> execStr "Check" "" ctx
|
||||
-- TODO: Handle the return value from executeString and return that one to the shell
|
||||
pure ()
|
||||
|
Loading…
Reference in New Issue
Block a user