Ajoute un makefile
This commit is contained in:
		
							
								
								
									
										17
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| .PHONY: build install-tools install-dep init clean | ||||
|  | ||||
| init: install-dep install-tools | ||||
|  | ||||
| build: | ||||
| 	@uvx pyinstaller --hidden-import=yaml --hidden-import=yaml.loader --paths=.venv/lib/python3.13/site-packages/ --onefile ./main.py | ||||
|  | ||||
| install-tools: | ||||
| 	@uv tool install flake8  | ||||
| 	@uv tool install black  | ||||
| 	@uv tool install pyinstaller | ||||
|  | ||||
| install-dep: | ||||
| 	@uv sync | ||||
|  | ||||
| clean: | ||||
| 	@rm -r ./dist ./build | ||||
		Reference in New Issue
	
	Block a user