aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-10-21 10:23:06 -0500
committerBrad Richardson <everythingfunctional@protonmail.com>2020-10-21 10:23:06 -0500
commit6ce08448d8e2376076f42841088687a01930b51b (patch)
treed46e98f22bbdb8fc15e89633d9bd785cac762781
parentbcef4a4789f439934a40709189c1ae9e036cf1d2 (diff)
downloadfpm-6ce08448d8e2376076f42841088687a01930b51b.tar.gz
fpm-6ce08448d8e2376076f42841088687a01930b51b.zip
Put print statement in for debugging Windows
-rw-r--r--bootstrap/src/Build.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index fb5f2a9..bee5bba 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -22,6 +22,7 @@ import Development.Shake ( FilePattern
, Change(ChangeModtimeAndDigest)
, cmd
, getDirectoryFilesIO
+ , liftIO
, need
, progressSimple
, shake
@@ -100,6 +101,7 @@ buildProgram programDirectory libraryDirectories sourceExtensions buildDirectory
["-o", objectFile, sourceFile]
want [buildDirectory </> programName <.> exe]
buildDirectory </> programName <.> exe %> \executable -> do
+ liftIO $ print objectFiles
need objectFiles
cmd compiler objectFiles archives ["-o", executable] flags
mapM_ infoToRule compileTimeInfo