Skip to content

Commit

Permalink
Move cabal-install source to src/
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Jul 20, 2020
1 parent 95c5e40 commit b57eee1
Show file tree
Hide file tree
Showing 183 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ gen-extra-source-files-lib :

# analyse-imports
analyse-imports : phony
find Cabal/src cabal-install/Distribution -type f -name '*.hs' | xargs cabal v2-run --builddir=dist-newstyle-meta --project-file=cabal.project.meta analyse-imports --
find Cabal/src cabal-install/src -type f -name '*.hs' | xargs cabal v2-run --builddir=dist-newstyle-meta --project-file=cabal.project.meta analyse-imports --

# github actions
github-actions : .github/workflows/artifacts.yml
Expand Down Expand Up @@ -123,7 +123,7 @@ doctest :

# This is not run as part of validate.sh (we need hackage-security, which is tricky to get).
doctest-cli :
doctest -D__DOCTEST__ --fast cabal-install/Distribution
doctest -D__DOCTEST__ --fast cabal-install/src

# tests

Expand Down Expand Up @@ -225,7 +225,7 @@ weeder :
# tags
.PHONY : tags
tags :
hasktags -b Cabal/src Cabal/Cabal-described/src cabal-install/Distribution cabal-testsuite/src
hasktags -b Cabal/src Cabal/Cabal-described/src cabal-install/src cabal-testsuite/src

# documentation
##############################################################################
Expand Down
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ executable cabal
main-is: Main.hs
hs-source-dirs: main
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand Down
3 changes: 3 additions & 0 deletions cabal-install/cabal-install.cabal.dev
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ Flag lukko

library cabal-lib-client
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand Down Expand Up @@ -396,6 +397,7 @@ library cabal-lib-client

library cabal-install-solver-dsl
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand All @@ -416,6 +418,7 @@ executable cabal
main-is: Main.hs
hs-source-dirs: main
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand Down
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal.prod
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ executable cabal
main-is: Main.hs
hs-source-dirs: main
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand Down
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal.zinza
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Version: 3.5.0.0
{% endblock %}
{% defblock componentCommon %}
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b57eee1

Please sign in to comment.