Skip to content

Commit

Permalink
Re-sort fields in example executable (KSG Cabal 1.3.0 - 3.7.1). Refs #…
Browse files Browse the repository at this point in the history
…196.

Fields within library, executable, test suites and benchmarks are listed
in the following order:
- type, if applicable
- main-is, if applicable
- exposed-modules, if applicable
- other-modules, if applicable
- build-depends
- default-language
- hs-source-dirs
- compiler options
- flag-dependent configuration
  • Loading branch information
ivanperez-keera committed Mar 13, 2022
1 parent 4cceaf8 commit 5da6c9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions yampa/Yampa.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ executable yampa-examples-sdl-bouncingbox
executable yampa-examples-sdl-circlingmouse
main-is: MainCircleMouse.hs
other-modules: YampaSDL
default-language:
Haskell2010
hs-source-dirs: examples/yampa-game/
ghc-options : -O3 -Wall -fno-warn-name-shadowing
if flag(examples)
Expand All @@ -253,9 +255,6 @@ executable yampa-examples-sdl-circlingmouse
else
buildable: False

default-language:
Haskell2010

executable yampa-examples-sdl-wiimote
main-is: MainWiimote.hs
other-modules: YampaSDL
Expand Down

0 comments on commit 5da6c9a

Please sign in to comment.