You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.7 KiB

  1. cabal-version: 3.0
  2. -- The cabal-version field refers to the version of the .cabal specification,
  3. -- and can be different from the cabal-install (the tool) version and the
  4. -- Cabal (the library) version you are using. As such, the Cabal (the library)
  5. -- version used must be equal or greater than the version stated in this field.
  6. -- Starting from the specification version 2.2, the cabal-version field must be
  7. -- the first thing in the cabal file.
  8. -- Initial package description 'noteboard' generated by
  9. -- 'cabal init'. For further documentation, see:
  10. -- http://haskell.org/cabal/users-guide/
  11. --
  12. -- The name of the package.
  13. name: noteboard
  14. -- The package version.
  15. -- See the Haskell package versioning policy (PVP) for standards
  16. -- guiding when and how versions should be incremented.
  17. -- https://pvp.haskell.org
  18. -- PVP summary: +-+------- breaking API changes
  19. -- | | +----- non-breaking API additions
  20. -- | | | +--- code changes with no API change
  21. version: 0.1.0.0
  22. -- A short (one-line) description of the package.
  23. synopsis: Whiteboard software for notetaking
  24. -- A longer description of the package.
  25. -- description:
  26. -- URL for the project homepage or repository.
  27. homepage: https://git.annwan.me/annwan/noteboard
  28. -- The license under which the package is released.
  29. license: BSD-3-Clause
  30. -- The file containing the license text.
  31. license-file: LICENSE
  32. -- The package author(s).
  33. author: Annwan
  34. -- An email address to which users can send suggestions, bug reports, and patches.
  35. maintainer: annwan@annwan.me
  36. -- A copyright notice.
  37. -- copyright:
  38. build-type: Simple
  39. -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
  40. extra-doc-files: CHANGELOG.md
  41. -- Extra source files to be distributed with the package, such as examples, or a tutorial module.
  42. -- extra-source-files:
  43. common warnings
  44. ghc-options: -Wall
  45. executable noteboard
  46. -- Import common warning flags.
  47. import: warnings
  48. -- .hs or .lhs file containing the Main module.
  49. main-is: Main.hs
  50. -- Modules included in this executable, other than Main.
  51. other-modules: Board
  52. , State
  53. , UI
  54. -- LANGUAGE extensions used by modules in this package.
  55. -- other-extensions:
  56. -- Other library packages from which modules are imported.
  57. build-depends: base ^>= 4.18.0.0
  58. , h-raylib ^>= 4.6.0.0
  59. , aeson ^>= 2.2.0.0
  60. -- Directories containing source files.
  61. hs-source-dirs: app
  62. -- Base language which the package is written in.
  63. default-language: Haskell2010