tools: appveyor: troubleshooting stack#4125
[ci skip]
This commit is contained in:
		
							parent
							
								
									e7c85b237c
								
							
						
					
					
						commit
						15d56a8997
					
				| @ -39,21 +39,23 @@ install: | |||||||
| # temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125 | # temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125 | ||||||
| 
 | 
 | ||||||
| - dir | - dir | ||||||
| - del stack*.exe |  | ||||||
| 
 | 
 | ||||||
| # latest stack release | # install latest stack release | ||||||
| - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64 | # - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64 | ||||||
| - 7z x stack.zip stack.exe | # - 7z x stack.zip stack.exe | ||||||
| - move stack.exe stack-release.exe | # - move stack.exe stack-release.exe | ||||||
| - stack-release --version | # - stack-release --version | ||||||
| 
 | 
 | ||||||
| # stack 4125-cabal-style-build-tools branch | # install latest stack 4125-cabal-style-build-tools branch | ||||||
| - set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH% | # - set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH% | ||||||
| - stack-release upgrade --git --git-branch 4125-cabal-style-build-tools | # - stack-release upgrade --git --git-branch 4125-cabal-style-build-tools | ||||||
| - copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe C:\Users\appveyor\AppData\Roaming\local\bin\stack-4125-cabal-style-build-tools.exe | # - copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe C:\Users\appveyor\AppData\Roaming\local\bin\stack-4125-cabal-style-build-tools.exe | ||||||
| - copy stack-4125-cabal-style-build-tools.exe stack.exe |  | ||||||
| 
 | 
 | ||||||
|  | # use the former | ||||||
|  | #- copy stack-release.exe stack.exe | ||||||
| # use the latter | # use the latter | ||||||
|  | - copy C:\Users\appveyor\AppData\Roaming\local\bin\stack-4125-cabal-style-build-tools.exe stack.exe | ||||||
|  | 
 | ||||||
| - stack --version | - stack --version | ||||||
| - dir | - dir | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user