aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-05-30 16:22:02 -0700
committerBrad Richardson <brichardson@structint.com>2020-05-30 16:22:02 -0700
commit9d83f04a6f6318fd51405da500a3529fe7f9fabd (patch)
tree05324b1bbd92a2256a7d52961d7226bfbfbe44c3 /src
parent6297e11e84f609c08384a83f9bd1e61d51de740a (diff)
downloadfpm-9d83f04a6f6318fd51405da500a3529fe7f9fabd.tar.gz
fpm-9d83f04a6f6318fd51405da500a3529fe7f9fabd.zip
Run executables or tests synchronously
Diffstat (limited to 'src')
-rw-r--r--src/Fpm.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fpm.hs b/src/Fpm.hs
index 8e6a205..417b6ed 100644
--- a/src/Fpm.hs
+++ b/src/Fpm.hs
@@ -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