Commit faebbae4 authored by Henrik Tramberend's avatar Henrik Tramberend
Browse files

Fix rsync options for macOS

parent e7038631
...@@ -9,6 +9,7 @@ import Data.IORef () ...@@ -9,6 +9,7 @@ import Data.IORef ()
import Data.List import Data.List
import Data.Maybe import Data.Maybe
import Data.String () import Data.String ()
import Debug.Trace
import Development.Shake import Development.Shake
import Development.Shake.FilePath import Development.Shake.FilePath
import External import External
...@@ -20,6 +21,7 @@ import System.Directory ...@@ -20,6 +21,7 @@ import System.Directory
removeFile) removeFile)
import System.FilePath () import System.FilePath ()
import System.Posix.Files import System.Posix.Files
import Text.Groom
import qualified Text.Mustache as M () import qualified Text.Mustache as M ()
import Text.Pandoc () import Text.Pandoc ()
import Text.Printf () import Text.Printf ()
...@@ -189,6 +191,7 @@ main = do ...@@ -189,6 +191,7 @@ main = do
liftIO $ putStr text liftIO $ putStr text
-- --
phony "plan" $ do phony "plan" $ do
metaData <- readMetaDataForDir projectDir
putNormal $ "\nproject directory: " ++ projectDir putNormal $ "\nproject directory: " ++ projectDir
putNormal $ "public directory: " ++ publicDir putNormal $ "public directory: " ++ publicDir
putNormal $ "support directory: " ++ supportDir putNormal $ "support directory: " ++ supportDir
...@@ -199,7 +202,8 @@ main = do ...@@ -199,7 +202,8 @@ main = do
allSourcesA >>= mapM_ putNormal allSourcesA >>= mapM_ putNormal
putNormal "\ntargets:\n" putNormal "\ntargets:\n"
everythingA <++> everythingPdfA >>= mapM_ putNormal everythingA <++> everythingPdfA >>= mapM_ putNormal
putNormal "" putNormal "\ntop level meta data:\n"
putNormal $ groom metaData
-- --
phony "support" $ do phony "support" $ do
metaData <- readMetaDataForDir projectDir metaData <- readMetaDataForDir projectDir
......
...@@ -68,6 +68,7 @@ executable decker ...@@ -68,6 +68,7 @@ executable decker
, pandoc , pandoc
, pandoc-citeproc , pandoc-citeproc
, pandoc-types , pandoc-types
, groom
, process , process
, pureMD5 , pureMD5
, random , random
......
...@@ -40,7 +40,6 @@ programs = ...@@ -40,7 +40,6 @@ programs =
[] []
"rsync" "rsync"
[ "--recursive" [ "--recursive"
, "--no-xattrs"
, "--no-group" , "--no-group"
, "--perms" , "--perms"
, "--chmod=a+r,go-w" , "--chmod=a+r,go-w"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment