tools: appveyor: troubleshooting stack#4125
This commit is contained in:
		
							parent
							
								
									71405d9f3c
								
							
						
					
					
						commit
						fc552ab0fb
					
				| @ -29,6 +29,7 @@ environment: | |||||||
| cache: | cache: | ||||||
| - "%LOCALAPPDATA%\\Programs\\stack" | - "%LOCALAPPDATA%\\Programs\\stack" | ||||||
| - C:\sr | - C:\sr | ||||||
|  | - C:\Users\appveyor\AppData\Roaming\local\bin | ||||||
| - .stack-work | - .stack-work | ||||||
| - hledger-lib\.stack-work -> hledger-lib\** | - hledger-lib\.stack-work -> hledger-lib\** | ||||||
| - hledger\.stack-work     -> hledger\** | - hledger\.stack-work     -> hledger\** | ||||||
| @ -39,8 +40,12 @@ install: | |||||||
| - 7z x stack.zip stack.exe | - 7z x stack.zip stack.exe | ||||||
| - stack --version | - stack --version | ||||||
| # temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125 | # temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125 | ||||||
|  | - set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH% | ||||||
| - stack upgrade --git | - stack upgrade --git | ||||||
| - stack --version | - stack --version | ||||||
|  | - copy C:\Users\appveyor\AppData\Roaming\local\bin\stack . | ||||||
|  | - stack --version | ||||||
|  | 
 | ||||||
| # | # | ||||||
| # install ghc | # install ghc | ||||||
| # using ghc 8.2 to avoid a hledger-web -> network/stack build issue on windows, | # using ghc 8.2 to avoid a hledger-web -> network/stack build issue on windows, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user