summaryrefslogtreecommitdiff
path: root/gen-other-modules.sh
blob: 3c50d91e73f882ceb88cec13ab30ce1d245a0b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

# Generate module list for 'Other-Modules:' field in git-annex.cabal.
# This would be simpler if the code were under ./src.

find Annex Annex.hs \
     Backend Backend.hs \
     Build \
     Checks.hs \
     CmdLine.hs \
     Command Command.hs \
     Common Common.hs \
     Config.hs \
     Crypto.hs \
     Git Git.hs \
     GitAnnex.hs \
     GitAnnexShell.hs \
     Init.hs \
     Limit.hs \
     Locations.hs \
     Logs \
     Messages Messages.hs \
     Option.hs \
     Remote Remote.hs \
     Seek.hs \
     Setup.hs \
     Types Types.hs \
     Upgrade Upgrade.hs \
     Usage.hs \
     Utility \
     -name '*.hs' \
| sed -r -e 's!.hs!!' -e 's!/!.!g'