reorganize modules and add new dependencies
This commit is contained in:
parent
b3e1d204c5
commit
5675cf7f6d
2 changed files with 17 additions and 12 deletions
|
@ -25,6 +25,8 @@ executable pituicat
|
|||
, Types.Graphics
|
||||
, Types.Graphics.VertexArray
|
||||
, Types.Graphics.VertexBuffer
|
||||
, Types.Graphics.IndexBuffer
|
||||
, Types.Graphics.Shader
|
||||
, Types.Util
|
||||
, Classes
|
||||
, Classes.Scene
|
||||
|
@ -32,18 +34,19 @@ executable pituicat
|
|||
, Classes.Graphics.Bindable
|
||||
, Classes.Graphics.Buffer
|
||||
, Classes.Graphics.VertexLayout
|
||||
, State.Loading
|
||||
, State.Loading.Load
|
||||
, State.Loading.Update
|
||||
, State.Loading.Draw
|
||||
, State.MainGame
|
||||
, State.MainGame.Load
|
||||
, State.MainGame.Update
|
||||
, State.MainGame.Draw
|
||||
-- , State.Loading
|
||||
-- , State.Loading.Load
|
||||
-- , State.Loading.Update
|
||||
-- , State.Loading.Draw
|
||||
-- , State.MainGame
|
||||
-- , State.MainGame.Load
|
||||
-- , State.MainGame.Update
|
||||
-- , State.MainGame.Draw
|
||||
, Scenes.Test
|
||||
, Map
|
||||
, StateMachine
|
||||
, Texture
|
||||
, Renderer
|
||||
-- other-extensions:
|
||||
build-depends: base >=4.13.0.0
|
||||
, affection
|
||||
|
@ -61,5 +64,7 @@ executable pituicat
|
|||
, bytestring
|
||||
, derive-storable
|
||||
, monad-loops
|
||||
, StateVar
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -threaded
|
||||
|
|
|
@ -27,16 +27,16 @@ let
|
|||
|
||||
f = { mkDerivation, aeson, base, bytestring, containers, derive-storable
|
||||
, JuicyPixels, JuicyPixels-extra, linear, monad-loops, OpenGL, OpenGLRaw
|
||||
, stdenv, sdl2, stm, text, vector}:
|
||||
, stdenv, sdl2, StateVar, stm, text, vector}:
|
||||
mkDerivation {
|
||||
pname = "pituicat";
|
||||
version = "0.0.0.0";
|
||||
src = ./.;
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [ aeson affection base bytestring linear
|
||||
containers JuicyPixels JuicyPixels-extra OpenGL OpenGLRaw sdl2 stm text
|
||||
vector];
|
||||
executableHaskellDepends = [ aeson affection base bytestring containers
|
||||
derive-storable JuicyPixels JuicyPixels-extra linear monad-loops OpenGL
|
||||
OpenGLRaw sdl2 StateVar stm text vector];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue