fix for makefile run
This commit is contained in:
		
							parent
							
								
									e7ad8beff8
								
							
						
					
					
						commit
						3f5d3182fe
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -14,7 +14,7 @@ build: ## Build and compile
 | 
				
			||||||
	go build -o main.out server/main.go
 | 
						go build -o main.out server/main.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
run: ## Run the application
 | 
					run: ## Run the application
 | 
				
			||||||
	go run main.go
 | 
						go run server/main.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test: ## Run test
 | 
					test: ## Run test
 | 
				
			||||||
	echo "Testing..."
 | 
						echo "Testing..."
 | 
				
			||||||
| 
						 | 
					@ -45,7 +45,6 @@ capa-dev: ##Live rebouild of ole-scanner
 | 
				
			||||||
	cd ./scanners/capa; \
 | 
						cd ./scanners/capa; \
 | 
				
			||||||
	FILE_DIRECTORY="$(shell pwd)/storage/files" flask run -p5001  
 | 
						FILE_DIRECTORY="$(shell pwd)/storage/files" flask run -p5001  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Live Reload
 | 
					# Live Reload
 | 
				
			||||||
watch: ##Live reload with air
 | 
					watch: ##Live reload with air
 | 
				
			||||||
	@if command -v air > /dev/null; then \
 | 
						@if command -v air > /dev/null; then \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue