From 12020ca91a0adf04c9ba4675e0126f042da4c121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Fri, 28 Feb 2020 09:16:46 -0800 Subject: Test example_project --- src/Lib.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Lib.hs b/src/Lib.hs index cab1ccc..3d4aede 100644 --- a/src/Lib.hs +++ b/src/Lib.hs @@ -1,5 +1,6 @@ module Lib - ( someFunc + ( someFunc, + someFunc2 ) where import Development.Shake.FilePath (()) @@ -12,3 +13,9 @@ someFunc = do a <- callCommand "gfortran test/test1.f90 -o test1" a <- callCommand $ "." "test1" return () + +someFunc2 :: IO () +someFunc2 = do + putStrLn "example" + a <- callCommand "cd example_project && stack run -- build" + return () -- cgit v1.2.3