Makefile: webapp test should depend on npm install
This commit is contained in:
		
							parent
							
								
									0967bd43f2
								
							
						
					
					
						commit
						f387133c21
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -107,7 +107,7 @@ endif
 | 
			
		|||
 | 
			
		||||
# test runs any lints and unit tests defined for the server and webapp, if they exist
 | 
			
		||||
.PHONY: test
 | 
			
		||||
test:
 | 
			
		||||
test: webapp/.npminstall
 | 
			
		||||
ifneq ($(HAS_SERVER),)
 | 
			
		||||
	cd server && $(GO) test -v -coverprofile=coverage.txt ./...
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue