Skip to content

Commit

Permalink
Adjust horizontal space in dependencies (KSG Cabal V1.3.0 - 4.6.6). R…
Browse files Browse the repository at this point in the history
…efs #100.

Version 1.2 of our Cabal Style Guide updated horizontal spacing and vertical
alignment rules to reduce unnecessary space.

This commit updates cabal files to reduce horizontal space left left between
package names and version bounds.
  • Loading branch information
myroslambda committed Nov 26, 2021
1 parent b5f64be commit b4effcd
Show file tree
Hide file tree
Showing 25 changed files with 114 additions and 97 deletions.
8 changes: 4 additions & 4 deletions keera-hails-i18n/keera-hails-i18n.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ library
Hails.I18N.Language

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, glib
Expand Down Expand Up @@ -94,8 +94,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -119,7 +119,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
6 changes: 3 additions & 3 deletions keera-hails-mvc-controller/keera-hails-mvc-controller.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -105,7 +105,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ library

build-depends:
base >= 4 && < 5

, keera-hails-mvc-model-protectedmodel
, keera-hails-mvc-view
, keera-hails-mvc-view-gtk
Expand Down Expand Up @@ -85,8 +86,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -110,7 +111,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ library

build-depends:
base >= 4 && < 5

, keera-hails-mvc-model-protectedmodel
, keera-hails-mvc-view
, keera-hails-mvc-view-gtk3
Expand Down Expand Up @@ -85,8 +86,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -110,7 +111,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ library
Hails.MVC.Model.ReactiveModel.Events

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, template-haskell
, containers
, stm
Expand Down Expand Up @@ -87,8 +87,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -112,7 +112,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ library
Hails.MVC.Model.ReactiveModel.Events

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, template-haskell
, containers
, stm
, keera-hails-reactivevalues
, MissingK

, keera-hails-reactivevalues

default-language:
Haskell2010

Expand Down Expand Up @@ -88,8 +89,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -113,7 +114,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ library
Hails.MVC.Controller.Conditions.Config

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, MissingK
, directory
, filepath
Expand Down Expand Up @@ -70,8 +70,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -95,7 +95,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ library
Hails.Graphics.UI.Gtk.Simplify.UpdateCheck

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, template-haskell
, gtk
, hslogger
Expand Down Expand Up @@ -91,8 +91,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -116,7 +116,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ library
Hails.Graphics.UI.Gtk.Simplify.UpdateCheck

build-depends:
base >= 4 && < 5
base >= 4 && < 5
, template-haskell
, gtk3
, hslogger
Expand Down Expand Up @@ -91,8 +91,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -116,7 +116,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
9 changes: 5 additions & 4 deletions keera-hails-mvc-view-gtk/keera-hails-mvc-view-gtk.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ library

build-depends:
base >= 4 && < 5
, keera-hails-mvc-view
, gtk

, gtk-helpers
, keera-hails-mvc-view

default-language:
Haskell2010
Expand Down Expand Up @@ -73,8 +74,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -98,7 +99,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
9 changes: 5 additions & 4 deletions keera-hails-mvc-view-gtk3/keera-hails-mvc-view-gtk3.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ library

build-depends:
base >= 4 && < 5
, keera-hails-mvc-view
, gtk3

, gtk3-helpers
, keera-hails-mvc-view

default-language:
Haskell2010
Expand Down Expand Up @@ -73,8 +74,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -98,7 +99,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
6 changes: 3 additions & 3 deletions keera-hails-mvc-view/keera-hails-mvc-view.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -92,7 +92,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
7 changes: 4 additions & 3 deletions keera-hails-reactive-cbmvar/keera-hails-reactive-cbmvar.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ library
build-depends:
base >= 4 && < 5
, lens

, keera-hails-reactivevalues
, keera-callbacks

Expand Down Expand Up @@ -75,8 +76,8 @@ test-suite hlint
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
base >= 4 && < 5
, hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
Expand All @@ -100,7 +101,7 @@ test-suite haddock-coverage
buildable: False
else
build-depends:
base >= 4 && < 5
base >= 4 && < 5
, directory
, filepath
, process
Expand Down
Loading

0 comments on commit b4effcd

Please sign in to comment.