format cabal
This commit is contained in:
parent
7276a90ff2
commit
9a8a1208db
1 changed files with 42 additions and 49 deletions
|
|
@ -1,18 +1,16 @@
|
||||||
cabal-version: 3.0
|
cabal-version: 3.0
|
||||||
-- The cabal-version field refers to the version of the .cabal specification,
|
-- 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
|
-- 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)
|
-- 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.
|
-- 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
|
-- Starting from the specification version 2.2, the cabal-version field must be
|
||||||
-- the first thing in the cabal file.
|
-- the first thing in the cabal file.
|
||||||
|
|
||||||
-- Initial package description 'chipburners-club' generated by
|
-- Initial package description 'chipburners-club' generated by
|
||||||
-- 'cabal init'. For further documentation, see:
|
-- 'cabal init'. For further documentation, see:
|
||||||
-- http://haskell.org/cabal/users-guide/
|
-- http://haskell.org/cabal/users-guide/
|
||||||
--
|
--
|
||||||
-- The name of the package.
|
-- The name of the package.
|
||||||
name: chipburners-club
|
name: chipburners-club
|
||||||
|
|
||||||
-- The package version.
|
-- The package version.
|
||||||
-- See the Haskell package versioning policy (PVP) for standards
|
-- See the Haskell package versioning policy (PVP) for standards
|
||||||
-- guiding when and how versions should be incremented.
|
-- guiding when and how versions should be incremented.
|
||||||
|
|
@ -20,70 +18,65 @@ name: chipburners-club
|
||||||
-- PVP summary: +-+------- breaking API changes
|
-- PVP summary: +-+------- breaking API changes
|
||||||
-- | | +----- non-breaking API additions
|
-- | | +----- non-breaking API additions
|
||||||
-- | | | +--- code changes with no API change
|
-- | | | +--- code changes with no API change
|
||||||
version: 0.1.0.0
|
version: 0.1.0.0
|
||||||
|
|
||||||
-- A short (one-line) description of the package.
|
-- A short (one-line) description of the package.
|
||||||
-- synopsis:
|
-- synopsis:
|
||||||
|
|
||||||
-- A longer description of the package.
|
-- A longer description of the package.
|
||||||
-- description:
|
-- description:
|
||||||
|
|
||||||
-- The license under which the package is released.
|
-- The license under which the package is released.
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
|
|
||||||
-- The file containing the license text.
|
-- The file containing the license text.
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
|
|
||||||
-- The package author(s).
|
-- The package author(s).
|
||||||
author: Daniel Kauss Serna
|
author: Daniel Kauss Serna
|
||||||
|
|
||||||
-- An email address to which users can send suggestions, bug reports, and patches.
|
-- An email address to which users can send suggestions, bug reports, and patches.
|
||||||
maintainer: daniel.kauss.serna@gmail.com
|
maintainer: daniel.kauss.serna@gmail.com
|
||||||
|
|
||||||
-- A copyright notice.
|
-- A copyright notice.
|
||||||
-- copyright:
|
-- copyright:
|
||||||
category: Web
|
category: Web
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
|
|
||||||
-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
|
-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
|
||||||
-- extra-doc-files: CHANGELOG.md
|
-- extra-doc-files: CHANGELOG.md
|
||||||
|
|
||||||
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
|
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
|
||||||
-- extra-source-files:
|
-- extra-source-files:
|
||||||
|
|
||||||
common warnings
|
common warnings
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
executable chipburners-club
|
executable chipburners-club
|
||||||
-- Import common warning flags.
|
-- Import common warning flags.
|
||||||
import: warnings
|
import: warnings
|
||||||
ghc-options: -threaded
|
ghc-options: -threaded
|
||||||
|
-- .hs or .lhs file containing the Main module.
|
||||||
|
main-is: Main.hs
|
||||||
|
-- Modules included in this executable, other than Main.
|
||||||
|
other-modules:
|
||||||
|
Ical
|
||||||
|
Render
|
||||||
|
|
||||||
-- .hs or .lhs file containing the Main module.
|
-- LANGUAGE extensions used by modules in this package.
|
||||||
main-is: Main.hs
|
-- other-extensions:
|
||||||
|
extra-libraries:
|
||||||
|
z
|
||||||
|
zstd
|
||||||
|
|
||||||
-- Modules included in this executable, other than Main.
|
-- Other library packages from which modules are imported.
|
||||||
other-modules: Ical, Render
|
build-depends:
|
||||||
|
base ^>=4.20.2.0,
|
||||||
|
bytestring,
|
||||||
|
containers,
|
||||||
|
http-conduit,
|
||||||
|
http-types,
|
||||||
|
lucid,
|
||||||
|
scotty,
|
||||||
|
text,
|
||||||
|
time,
|
||||||
|
wai-middleware-static,
|
||||||
|
|
||||||
-- LANGUAGE extensions used by modules in this package.
|
-- Directories containing source files.
|
||||||
-- other-extensions:
|
hs-source-dirs:
|
||||||
extra-libraries: z zstd
|
app
|
||||||
|
src
|
||||||
|
|
||||||
-- Other library packages from which modules are imported.
|
-- Base language which the package is written in.
|
||||||
build-depends:
|
default-language: GHC2024
|
||||||
base ^>=4.20.2.0,
|
|
||||||
http-conduit,
|
|
||||||
text,
|
|
||||||
bytestring,
|
|
||||||
containers,
|
|
||||||
scotty,
|
|
||||||
wai-middleware-static,
|
|
||||||
lucid,
|
|
||||||
http-types,
|
|
||||||
time
|
|
||||||
|
|
||||||
-- Directories containing source files.
|
|
||||||
hs-source-dirs: app, src
|
|
||||||
|
|
||||||
-- Base language which the package is written in.
|
|
||||||
default-language: GHC2024
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue