[feat] unify with example, actually win for once

This commit is contained in:
mtgmonkey
2025-12-16 00:24:10 +01:00
parent 170685f6c8
commit 5a701a3632
8 changed files with 14166 additions and 34 deletions

View File

@@ -1,53 +1,47 @@
cabal-version: 3.0
name: hs-rgfw
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.2
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
version: 0.2.0
homepage: https://git.mtgmonkey.net/Andromeda/hs-rgfw
license: BSD-3-Clause
license-file: LICENSE
author: andromeda
maintainer: @andromeda:tchncs.de
-- A copyright notice.
-- copyright:
category: Development
build-type: Custom
extra-doc-files: CHANGELOG.md
build-type: Simple
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
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
custom-setup
setup-depends:
base,
Cabal,
process
library
import: warnings
exposed-modules: Lib
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
import: warnings
exposed-modules: RGFW
build-depends:
base >=4.18
base >=4.18,
bindings-DSL <1000
pkgconfig-depends:
gl,
x11,
xcursor,
xrandr,
xi
hs-source-dirs:
lib
hs-source-dirs: lib
include-dirs: include
default-language: Haskell2010
executable hs-rgfw
import: warnings
main-is: Main.hs
build-depends:
base >=4.18,
hs-rgfw
pkgconfig-depends:
gl,
x11,
xcursor,
xrandr,
xi
hs-source-dirs: src
include-dirs: include
c-sources: include/RGFW_HS.c
install-includes: RGFW_HS.h
default-language: Haskell2010