modularize

This commit is contained in:
mtgmonkey
2025-12-25 15:03:06 +01:00
parent 38c7580cc4
commit f836081564
10 changed files with 558 additions and 416 deletions

View File

@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hs-glsl
version: 0.1.0
version: 0.2.0
homepage: https://git.mtgmonkey.net/Andromeda/hs-glsl
license: BSD-3-Clause
license-file: LICENSE
@@ -11,15 +11,23 @@ build-type: Simple
common warnings
ghc-options:
-Wall
-Werror
library
import: warnings
build-depends: base >=4.20
hs-source-dirs: src
exposed-modules: Lib
exposed-modules: GLSL
, GLSL.Compile
, GLSL.Internal
, GLSL.Internal.Compile
default-language: Haskell2010
executable hs-glsl
import: warnings
main-is: Main.hs
build-depends: base >=4.20
hs-source-dirs: src
other-modules: GLSL
, GLSL.Compile
, GLSL.Internal
, GLSL.Internal.Compile
default-language: Haskell2010