summaryrefslogtreecommitdiff
path: root/hadrian/src/Hadrian/Builder/Git.hs
blob: 6875a48fbd9814893a9872297d41db7a630ef9fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Hadrian.Builder.Git (gitArgs) where

import Expression

-- | Default command line arguments for invoking the archiving utility @tar@.
gitArgs :: Args
gitArgs = mconcat
  [ builder (Git ListFiles) ? mconcat
      [ arg "ls-files"
      , arg "--recurse-submodules"
      , arg "-z"
      ]
  ]