Update stack lts to 17.9
This commit is contained in:
		
							parent
							
								
									8d8ca986a7
								
							
						
					
					
						commit
						e3605d48f3
					
				
					 5 changed files with 19 additions and 13 deletions
				
			
		| 
						 | 
					@ -1,9 +1,7 @@
 | 
				
			||||||
module Main where
 | 
					module Main where
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import Control.Monad (when)
 | 
					import Control.Monad (when)
 | 
				
			||||||
import Data.Monoid ((<>))
 | 
					 | 
				
			||||||
import System.Exit (exitSuccess)
 | 
					import System.Exit (exitSuccess)
 | 
				
			||||||
import System.IO (readFile, writeFile)
 | 
					 | 
				
			||||||
import Text.Read (readMaybe)
 | 
					import Text.Read (readMaybe)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import Options.Applicative
 | 
					import Options.Applicative
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,7 +66,9 @@ playGame lvl mp = do
 | 
				
			||||||
    writeBChan chan Tick
 | 
					    writeBChan chan Tick
 | 
				
			||||||
    threadDelay delay
 | 
					    threadDelay delay
 | 
				
			||||||
  initialGame <- initGame lvl
 | 
					  initialGame <- initGame lvl
 | 
				
			||||||
  ui <- customMain (V.mkVty V.defaultConfig) (Just chan) app $ UI
 | 
					  let builder = V.mkVty V.defaultConfig
 | 
				
			||||||
 | 
					  initialVty <- builder
 | 
				
			||||||
 | 
					  ui <- customMain initialVty builder (Just chan) app $ UI
 | 
				
			||||||
    { _game    = initialGame
 | 
					    { _game    = initialGame
 | 
				
			||||||
    , _preview = mp
 | 
					    , _preview = mp
 | 
				
			||||||
    , _locked  = False
 | 
					    , _locked  = False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								stack.yaml
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								stack.yaml
									
										
									
									
									
								
							| 
						 | 
					@ -2,14 +2,8 @@ flags: {}
 | 
				
			||||||
extra-package-dbs: []
 | 
					extra-package-dbs: []
 | 
				
			||||||
packages:
 | 
					packages:
 | 
				
			||||||
  - '.'
 | 
					  - '.'
 | 
				
			||||||
extra-deps:
 | 
					extra-deps: []
 | 
				
			||||||
  - brick-0.45
 | 
					resolver: lts-17.9
 | 
				
			||||||
  - config-ini-0.2.4.0
 | 
					 | 
				
			||||||
  - data-clist-0.1.2.1
 | 
					 | 
				
			||||||
  - text-zipper-0.10.1
 | 
					 | 
				
			||||||
  - word-wrap-0.4.1
 | 
					 | 
				
			||||||
  - QuickCheck-2.11.3
 | 
					 | 
				
			||||||
resolver: lts-13.0
 | 
					 | 
				
			||||||
nix:
 | 
					nix:
 | 
				
			||||||
  packages:
 | 
					  packages:
 | 
				
			||||||
    - gcc
 | 
					    - gcc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										12
									
								
								stack.yaml.lock
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								stack.yaml.lock
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,12 @@
 | 
				
			||||||
 | 
					# This file was autogenerated by Stack.
 | 
				
			||||||
 | 
					# You should not edit this file by hand.
 | 
				
			||||||
 | 
					# For more information, please see the documentation at:
 | 
				
			||||||
 | 
					#   https://docs.haskellstack.org/en/stable/lock_files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					packages: []
 | 
				
			||||||
 | 
					snapshots:
 | 
				
			||||||
 | 
					- completed:
 | 
				
			||||||
 | 
					    size: 567037
 | 
				
			||||||
 | 
					    url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/17/9.yaml
 | 
				
			||||||
 | 
					    sha256: d7d8d5106e53d1669964bd8bd2b0f88a5ad192d772f5376384b76738fd992311
 | 
				
			||||||
 | 
					  original: lts-17.9
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@ homepage:            https://github.com/samtay/tetris#readme
 | 
				
			||||||
license:             BSD3
 | 
					license:             BSD3
 | 
				
			||||||
license-file:        LICENSE
 | 
					license-file:        LICENSE
 | 
				
			||||||
author:              Sam Tay
 | 
					author:              Sam Tay
 | 
				
			||||||
maintainer:          sam.chong.tay@gmail.com
 | 
					maintainer:          sam.chong.tay@pm.me
 | 
				
			||||||
copyright:           2017 Sam Tay
 | 
					copyright:           2021 Sam Tay
 | 
				
			||||||
category:            Web
 | 
					category:            Web
 | 
				
			||||||
build-type:          Simple
 | 
					build-type:          Simple
 | 
				
			||||||
extra-source-files:  README.md
 | 
					extra-source-files:  README.md
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue