fix path
git-annex is installed into . by Build/NullSoftInstaller, so use that for running git-annex test
This commit is contained in:
		
					parent
					
						
							
								2a2e30f729
							
						
					
				
			
			
				commit
				
					
						dd6d0cc9af
					
				
			
		
					 2 changed files with 11 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								doc/devblog/day_477__windows_build_fixed.mdwn
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								doc/devblog/day_477__windows_build_fixed.mdwn
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
Got the Windows build fixed, with help from Yury. The toolchain had been
 | 
			
		||||
broken for months. We switched to using stack, which should make the
 | 
			
		||||
Windows build more reproducible and easy to manage.
 | 
			
		||||
 | 
			
		||||
Unfortunately, there was a link problem, and I had to disable some FFI code
 | 
			
		||||
that was needed to terminate processes on Windows. Until that gets fixed,
 | 
			
		||||
restarting and stopping the assistant won't work right on Windows.
 | 
			
		||||
 | 
			
		||||
Aaand: The EvilLinker is not needed any longer, so I was very happy to be
 | 
			
		||||
able to delete that hack. \o/
 | 
			
		||||
| 
						 | 
				
			
			@ -78,7 +78,7 @@ stack ghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
 | 
			
		|||
# Test git-annex
 | 
			
		||||
# The test is run in c:/WINDOWS/Temp, because running it in the autobuilder
 | 
			
		||||
# directory runs afoul of Windows's short PATH_MAX.
 | 
			
		||||
PATH="$(pwd)/dist/build/git-annex/:$PATH"
 | 
			
		||||
PATH="$(pwd):$PATH"
 | 
			
		||||
export PATH
 | 
			
		||||
mkdir -p c:/WINDOWS/Temp/git-annex-test/
 | 
			
		||||
cd c:/WINDOWS/Temp/git-annex-test/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue