diff options
author | Brad Richardson <brichardson@structint.com> | 2020-05-30 16:22:02 -0700 |
---|---|---|
committer | Brad Richardson <brichardson@structint.com> | 2020-05-30 16:22:02 -0700 |
commit | 9d83f04a6f6318fd51405da500a3529fe7f9fabd (patch) | |
tree | 05324b1bbd92a2256a7d52961d7226bfbfbe44c3 /src | |
parent | 6297e11e84f609c08384a83f9bd1e61d51de740a (diff) | |
download | fpm-9d83f04a6f6318fd51405da500a3529fe7f9fabd.tar.gz fpm-9d83f04a6f6318fd51405da500a3529fe7f9fabd.zip |
Run executables or tests synchronously
Diffstat (limited to 'src')
-rw-r--r-- | src/Fpm.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,7 +126,7 @@ app args settings = case command' args of canonicalExecutables <- mapM makeAbsolute executables case canonicalExecutables of [] -> putStrLn "No Executables Found" - _ -> mapM_ runCommand canonicalExecutables + _ -> mapM_ system canonicalExecutables Test -> do build settings let buildPrefix = appSettingsBuildPrefix settings @@ -141,7 +141,7 @@ app args settings = case command' args of canonicalExecutables <- mapM makeAbsolute executables case canonicalExecutables of [] -> putStrLn "No Tests Found" - _ -> mapM_ runCommand canonicalExecutables + _ -> mapM_ system canonicalExecutables build :: AppSettings -> IO () build settings = do |