Justfile target for a complete test run
This commit is contained in:
		
							parent
							
								
									7a12b946a6
								
							
						
					
					
						commit
						59ab430b06
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								Justfile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Justfile
									
										
									
									
									
								
							|  | @ -21,6 +21,14 @@ save-release: build-container-release | ||||||
| load-release file: | load-release file: | ||||||
|     podman load --input {{file}} |     podman load --input {{file}} | ||||||
| 
 | 
 | ||||||
|  | # Tests every part of the project
 | ||||||
|  | testall: | ||||||
|  |     cd backend && make test | ||||||
|  |     cd backend && make lint | ||||||
|  |     cd frontend && npm i | ||||||
|  |     cd frontend && npm test | ||||||
|  |     cd frontend && npm run lint | ||||||
|  | 
 | ||||||
| # Cleans up everything related to the project
 | # Cleans up everything related to the project
 | ||||||
| clean: remove-podman-containers | clean: remove-podman-containers | ||||||
|     podman image rm -f ttime-server |     podman image rm -f ttime-server | ||||||
|  | @ -33,4 +41,4 @@ clean: remove-podman-containers | ||||||
| # Cleans up everything related to podman, not just the project. Make sure you understand what this means.
 | # Cleans up everything related to podman, not just the project. Make sure you understand what this means.
 | ||||||
| [confirm] | [confirm] | ||||||
| podman-clean: | podman-clean: | ||||||
|     podman system reset --force |     podman system reset --force | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus