Skip to content

Instantly share code, notes, and snippets.

@mjrosenb
Last active August 31, 2021 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjrosenb/8b55d33a3ac657dbb94733ff0aa72a0e to your computer and use it in GitHub Desktop.
Save mjrosenb/8b55d33a3ac657dbb94733ff0aa72a0e to your computer and use it in GitHub Desktop.
[nix-shell:~/projects/match-rex]$ cabal new-build
Build profile: -w ghcjs-8.6.0.1 -O1
In order, the following will be built (use -v for more details):
- MatchRex-0.1.0.0 (exe:app) (cannot read state cache)
Preprocessing executable 'app' for MatchRex-0.1.0.0..
cabal: can't find source for View in src, src/Verbose,
/Users/mjrosenb/projects/match-rex/dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/app/autogen,
/Users/mjrosenb/projects/match-rex/dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/global-autogen
name: MatchRex
version: 0.1.0.0
synopsis: A new game
category: Web
build-type: Simple
license: BSD3
license-file: LICENSE
cabal-version: >=1.10
executable app
hs-source-dirs: src
src/Verbose
main-is: Main.hs
if !impl(ghcjs)
buildable: False
build-depends: base,
miso==1.6.0.0,
containers,
aeson,
aeson-pretty,
random,
array,
list-t,
mtl,
lens==4.19.2,
split,
extra,
ghcjs-base
default-language: Haskell2010
ghcjs-options: -fmax-relevant-binds=40 -Wno-missing-home-modules
other-modules: View
ViewTools
Utils
Utils.Array
Match.View
Pipe.View
Rogue.View
Tower.View
Action
Animate
Builder
BuildSpec
BuildState
Cell
Color
Coord
GameAction
GameCoreApi
GameEnergyLogic
GameLogic
Gravity
Grid
Levels
LevelTmp
Model
Path
State
Store
Update
UpdateGame
ViewConstants
ViewTools
Utils
Tracer
Control.Monad.Unit
Data.MultiMap
Data.Generator
Flatris.BuildSpec
Flatris.Builder
Flatris.Cell
Flatris.Shape
Flatris.Model
Flatris.Update
Flatris.View
Match.Builder
Match.BuildSpec
Match.Cell
Match.Model
Match.View
Match.Update
Pipe.Builder
Pipe.BuildSpec
Pipe.Cell
Pipe.Model
Pipe.View
Pipe.Update
Rogue.Builder
Rogue.BuildSpec
Rogue.Cell
Rogue.Character
Rogue.Model
Rogue.Spell
Rogue.Update
Tower.Builder
Tower.BuildSpec
Tower.Cell
Tower.Coord
Tower.Enemy
Tower.Attack
Tower.Damage
Tower.Tower
Tower.Model
Tower.Update
Tower.View
executable verify
hs-source-dirs: src
src/Quiet
main-is: Verify.hs
if impl(ghcjs)
buildable: False
if !impl(ghcjs)
buildable: True
build-depends: base,
miso,
containers,
aeson,
aeson-pretty,
random,
array,
list-t,
mtl,
lens,
split,
extra
default-language: Haskell2010
if os(darwin)
extra-libraries: iconv
ghc-options: -static -fprof-auto -rtsopts
other-modules: Auto
Tracer
Action
Animate
Cell
Color
Coord
GameAction
GameCoreApi
GameEnergyLogic
GameLogic
Gravity
Grid
Levels
Model
Path
State
Store
UpdateGame
ViewTools
Utils
Tracer
Control.Monad.Unit
Data.Generator
Data.MultiMap
Flatris.Cell
Flatris.Model
Flatris.Shape
Flatris.Update
Flatris.View
Match.Cell
Match.Model
Match.View
Match.Update
Pipe.Cell
Pipe.Model
Pipe.View
Pipe.Update
Rogue.Cell
Rogue.Character
Rogue.Model
Rogue.Spell
Rogue.Update
Tower.Cell
Tower.Coord
Tower.Enemy
Tower.Attack
Tower.Damage
Tower.Tower
Tower.Model
Tower.Update
Tower.View
-- library shared
-- if impl(ghcjs)
-- hs-source-dirs: src
-- src/Verbose
-- if !impl(ghcjs)
-- hs-source-dirs: src
-- src/Quiet
-- build-depends: base,
-- miso,
-- containers,
-- aeson,
-- aeson-pretty,
-- random,
-- array,
-- list-t,
-- mtl,
-- lens,
-- split
-- exposed-modules:
[nix-shell:~/projects/match-rex]$ tree -I 'dist*'
.
├── LICENSE
├── TODO.org
├── cabal.project.local
├── cabal.project.local~
├── cabal.project.local~0
├── common.nix
├── data
│   ├── images
│   │   ├── coin.svg
│   │   ├── enable_step-active.svg
│   │   ├── enable_step-active.svg~
│   │   ├── enable_step-hover.svg
│   │   ├── enable_step-hover.svg~
│   │   ├── enable_step.svg
│   │   ├── energy.svg
│   │   ├── fireball.svg
│   │   ├── lightning.svg
│   │   ├── mana.svg
│   │   ├── points.svg
│   │   ├── ray.svg
│   │   ├── step-hover.svg
│   │   ├── step-hover.svg~
│   │   ├── step.svg
│   │   ├── undo-hover.svg
│   │   ├── undo-hover.svg~
│   │   └── undo.svg
│   ├── index.html
│   ├── lib.js -> ../dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/app/app.jsexe/lib.js
│   ├── not_images
│   │   ├── coin.svg
│   │   ├── emerald.svg
│   │   ├── energy.svg
│   │   ├── karthikeyan-ruby-flatmix.svg
│   │   └── points.svg
│   ├── out.js -> ../dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/app/app.jsexe/out.js
│   ├── rts.js -> ../dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/app/app.jsexe/rts.js
│   ├── runmain.js -> ../dist-newstyle/build/x86_64-linux/ghcjs-8.6.0.1/MatchRex-0.1.0.0/x/app/build/app/app.jsexe/runmain.js
│   └── test.css
├── default.nix
├── hackage
│   ├── aeson.nix
│   ├── free.nix
│   ├── indexed-traversable-instances.nix
│   ├── indexed-traversable.nix
│   ├── lens.nix
│   ├── match-rex.cabal
│   ├── th-abstraction.nix
│   ├── these.nix
│   ├── time-compat.nix
│   ├── type-equality.nix
│   └── vector.nix
├── jsaddle.nix
├── match-rex.cabal
├── readme.org
├── result -> /nix/store/vz0y816y3lvk3kcqbrvmff7bpy1fc034-MatchRex-0.1.0.0
├── shell.nix
├── src
│   ├── Action.hs
│   ├── Animate.hs
│   ├── Auto.hs
│   ├── BuildSpec.hs
│   ├── BuildState.hs
│   ├── Builder.hs
│   ├── Cell.hs
│   ├── Color.hs
│   ├── Color.hs~
│   ├── Control
│   │   └── Monad
│   │   ├── Identity.hs
│   │   └── Unit.hs
│   ├── Coord.hs
│   ├── Data
│   │   ├── Generator.hs
│   │   └── MultiMap.hs
│   ├── Flatris
│   │   ├── BuildSpec.hs
│   │   ├── Builder.hs
│   │   ├── Cell.hs
│   │   ├── Cell.hs~
│   │   ├── Model.hs
│   │   ├── Model.hs~
│   │   ├── Shape.hs
│   │   ├── Shape.hs~
│   │   ├── Update.hs
│   │   ├── Update.hs~
│   │   ├── View.hs
│   │   └── View.hs~
│   ├── GameAction.hs
│   ├── GameAction.hs~
│   ├── GameCoreApi.hs
│   ├── GameEnergyLogic.hs
│   ├── GameEnergyLogic.hs~
│   ├── GameLogic.hs
│   ├── Gravity.hs
│   ├── Grid.hs
│   ├── LevelTmp.hs
│   ├── Levels.hs
│   ├── Main.hs
│   ├── Match
│   │   ├── BuildSpec.hs
│   │   ├── Builder.hs
│   │   ├── Cell.hs
│   │   ├── Model.hs
│   │   ├── Pattern.hs
│   │   ├── Update.hs
│   │   └── View.hs
│   ├── Model.hs
│   ├── Path.hs
│   ├── Pipe
│   │   ├── BuildSpec.hs
│   │   ├── Builder.hs
│   │   ├── Cell.hs
│   │   ├── Model.hs
│   │   ├── Update.hs
│   │   └── View.hs
│   ├── Quiet
│   │   ├── Tracer.hs
│   │   └── Tracer.hs~
│   ├── Rogue
│   │   ├── BuildSpec.hs
│   │   ├── Builder.hs
│   │   ├── Cell.hs
│   │   ├── Character.hs
│   │   ├── Model.hs
│   │   ├── Spell.hs
│   │   ├── Spell.hs~
│   │   ├── Update.hs
│   │   ├── View.hs
│   │   └── View.hs~
│   ├── State.hs
│   ├── Store.hs
│   ├── Tower
│   │   ├── Attack.hs
│   │   ├── BuildSpec.hs
│   │   ├── Builder.hs
│   │   ├── Cell.hs
│   │   ├── Coord.hs
│   │   ├── Damage.hs
│   │   ├── Enemy.hs
│   │   ├── Model.hs
│   │   ├── Tower.hs
│   │   ├── Update.hs
│   │   └── View.hs
│   ├── Update.hs
│   ├── UpdateGame.hs
│   ├── UpdateState.hs
│   ├── Utils
│   │   ├── Array.hs
│   │   └── Array.hs~
│   ├── Utils.hs
│   ├── Verbose
│   │   ├── Tracer.hs
│   │   └── Tracer.hs~
│   ├── Verify.hs
│   ├── View.hs
│   ├── ViewConstants.hs
│   ├── ViewConstants.hs~
│   └── ViewTools.hs
├── verify-shell.nix
├── verify.nix
└── verify.prof
17 directories, 144 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment