Skip to content

Commit

Permalink
Added example additional script copying code
Browse files Browse the repository at this point in the history
  • Loading branch information
dino- committed Oct 7, 2016
1 parent f525338 commit 2b599e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions util/install.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ main = do
installExitCode <- system $ "stack install --local-bin-path=" ++ (binDir dirs)
unless (ok installExitCode) $ die "Can't continue because stack install failed"

-- Copy additional scripts
{-
putStrLn "Copying additional scripts"
mapM_ (\f -> copyFile ("util" </> f) (binDir dirs </> f))
[ "script1.sh", "script2.hs" ]
-}

-- Copy the license
putStrLn "\nCopying LICENSE"
createDirectoryIfMissing True $ docDir dirs
Expand Down

0 comments on commit 2b599e7

Please sign in to comment.