Skip to content

Commit

Permalink
Update the extra-source-files script and list
Browse files Browse the repository at this point in the history
Include cabal.project files too.
  • Loading branch information
dcoutts committed May 13, 2016
1 parent ba50798 commit 6b8b47f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/misc/gen-extra-source-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
set -ex

git ls-files tests \
| awk '/\.(hs|lhs|c|sh|cabal|hsc|err|out|in)$|ghc/ { print } { next }' \
| awk '/\.(hs|lhs|c|sh|cabal|hsc|err|out|in|project)$|ghc/ { print } { next }' \
| awk '/Check.hs$|UnitTests|PackageTester|autogen|register.sh|PackageTests.hs|IntegrationTests.hs|CreatePipe|^tests\/Test/ { next } { print }' \
| LC_ALL=C sort \
| sed -e 's/^/ /' \
Expand Down
8 changes: 8 additions & 0 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Extra-Source-Files:
tests/IntegrationTests/freeze/freezes_transitive_dependencies.sh
tests/IntegrationTests/freeze/my.cabal
tests/IntegrationTests/freeze/runs_without_error.sh
tests/IntegrationTests/internal-libs/cabal.project
tests/IntegrationTests/internal-libs/internal_lib_basic.sh
tests/IntegrationTests/internal-libs/internal_lib_shadow.sh
tests/IntegrationTests/internal-libs/new_build.sh
Expand All @@ -85,6 +86,7 @@ Extra-Source-Files:
tests/IntegrationTests/multiple-source/q/Setup.hs
tests/IntegrationTests/multiple-source/q/q.cabal
tests/IntegrationTests/new-build/monitor_cabal_files.sh
tests/IntegrationTests/new-build/monitor_cabal_files/cabal.project
tests/IntegrationTests/new-build/monitor_cabal_files/p/P.hs
tests/IntegrationTests/new-build/monitor_cabal_files/p/Setup.hs
tests/IntegrationTests/new-build/monitor_cabal_files/p/p.cabal
Expand Down Expand Up @@ -119,6 +121,12 @@ Extra-Source-Files:
tests/IntegrationTests/user-config/runs_without_error.sh
tests/IntegrationTests/user-config/uses_CABAL_CONFIG.out
tests/IntegrationTests/user-config/uses_CABAL_CONFIG.sh
tests/IntegrationTests2.hs
tests/IntegrationTests2/exception/build/Main.hs
tests/IntegrationTests2/exception/build/a.cabal
tests/IntegrationTests2/exception/configure/a.cabal
tests/IntegrationTests2/exception/no-pkg/empty.in
tests/IntegrationTests2/exception/no-pkg2/cabal.project
-- END gen-extra-source-files

source-repository head
Expand Down

0 comments on commit 6b8b47f

Please sign in to comment.