From 7a6eb573543666ef3f642f84dbb4a386429bf75e Mon Sep 17 00:00:00 2001 From: melody! Date: Wed, 7 Aug 2024 16:48:27 -0400 Subject: a --- beekeep.cabal | 182 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 121 insertions(+), 61 deletions(-) (limited to 'beekeep.cabal') diff --git a/beekeep.cabal b/beekeep.cabal index 15a3781..cd3cb10 100644 --- a/beekeep.cabal +++ b/beekeep.cabal @@ -1,67 +1,127 @@ -cabal-version: 2.2 +cabal-version: 3.0 +-- The cabal-version field refers to the version of the .cabal specification, +-- and can be different from the cabal-install (the tool) version and the +-- Cabal (the library) version you are using. As such, the Cabal (the library) +-- version used must be equal or greater than the version stated in this field. +-- Starting from the specification version 2.2, the cabal-version field must be +-- the first thing in the cabal file. --- This file has been generated from package.yaml by hpack version 0.37.0. +-- Initial package description 'beekeep' generated by +-- 'cabal init'. For further documentation, see: +-- http://haskell.org/cabal/users-guide/ -- --- see: https://github.com/sol/hpack - -name: beekeep -version: 0.1.0.0 -description: beekeeping simulator -homepage: https://github.com/melody-notpond/beekeep#readme -bug-reports: https://github.com/melody-notpond/beekeep/issues -author: melody -maintainer: me@melody.codes -copyright: idk -license: BSD-3-Clause -license-file: LICENSE -build-type: Simple -extra-source-files: - README.md - CHANGELOG.md - -source-repository head - type: git - location: https://github.com/melody-notpond/beekeep +-- The name of the package. +name: beekeep + +-- The package version. +-- See the Haskell package versioning policy (PVP) for standards +-- guiding when and how versions should be incremented. +-- https://pvp.haskell.org +-- PVP summary: +-+------- breaking API changes +-- | | +----- non-breaking API additions +-- | | | +--- code changes with no API change +version: 0.1.0.0 + +-- A short (one-line) description of the package. +-- synopsis: + +-- A longer description of the package. +-- description: + +-- The license under which the package is released. +license: MIT + +-- The file containing the license text. +license-file: LICENSE + +-- The package author(s). +author: melody! + +-- An email address to which users can send suggestions, bug reports, and patches. +maintainer: 24357776+melody-notpond@users.noreply.github.com + +-- A copyright notice. +-- copyright: +build-type: Simple + +-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README. +extra-doc-files: CHANGELOG.md + +-- Extra source files to be distributed with the package, such as examples, or a tutorial module. +-- extra-source-files: + +common warnings + ghc-options: -Wall library - exposed-modules: - Lib - other-modules: - Paths_beekeep - autogen-modules: - Paths_beekeep - hs-source-dirs: - src - ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints - build-depends: - base >=4.7 && <5 - default-language: Haskell2010 - -executable beekeep-exe - main-is: Main.hs - other-modules: - Paths_beekeep - autogen-modules: - Paths_beekeep - hs-source-dirs: - app - ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N - build-depends: - base >=4.7 && <5 - , beekeep - default-language: Haskell2010 + -- Import common warning flags. + import: warnings + + -- Modules exported by the library. + exposed-modules: MyLib + + -- Modules included in this library but not exported. + -- other-modules: + + -- LANGUAGE extensions used by modules in this package. + -- other-extensions: + + -- Other library packages from which modules are imported. + build-depends: base ^>=4.17.2.1 + + -- Directories containing source files. + hs-source-dirs: src + + -- Base language which the package is written in. + default-language: Haskell2010 + +executable beekeep + -- Import common warning flags. + import: warnings + + -- .hs or .lhs file containing the Main module. + main-is: Main.hs + + -- Modules included in this executable, other than Main. + -- other-modules: + + -- LANGUAGE extensions used by modules in this package. + -- other-extensions: + + -- Other library packages from which modules are imported. + build-depends: + base ^>=4.17.2.1, + beekeep + + -- Directories containing source files. + hs-source-dirs: app + + -- Base language which the package is written in. + default-language: Haskell2010 test-suite beekeep-test - type: exitcode-stdio-1.0 - main-is: Spec.hs - other-modules: - Paths_beekeep - autogen-modules: - Paths_beekeep - hs-source-dirs: - test - ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N - build-depends: - base >=4.7 && <5 - , beekeep - default-language: Haskell2010 + -- Import common warning flags. + import: warnings + + -- Base language which the package is written in. + default-language: Haskell2010 + + -- Modules included in this executable, other than Main. + -- other-modules: + + -- LANGUAGE extensions used by modules in this package. + -- other-extensions: + + -- The interface type and version of the test suite. + type: exitcode-stdio-1.0 + + -- Directories containing source files. + hs-source-dirs: test + + -- The entrypoint to the test suite. + main-is: Main.hs + + -- Test dependencies. + build-depends: + base ^>=4.17.2.1, + beekeep -- cgit 1.4.1-2-gfad0