aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.yaml1
-rw-r--r--src/Lib.hs9
2 files changed, 8 insertions, 2 deletions
diff --git a/package.yaml b/package.yaml
index fd12307..59b42e2 100644
--- a/package.yaml
+++ b/package.yaml
@@ -30,7 +30,6 @@ dependencies:
- shake
- split
-
library:
source-dirs: src
diff --git a/src/Lib.hs b/src/Lib.hs
index d36ff27..f51f079 100644
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -2,5 +2,12 @@ module Lib
( someFunc
) where
+-- import Development.Shake (cmd)
+import System.Process (callCommand)
+
+
someFunc :: IO ()
-someFunc = putStrLn "someFunc"
+someFunc = do
+ putStrLn "someFunc"
+ a <- callCommand "ls -l"
+ return ()