updates to project Makefile regarding #10
This commit is contained in:
		
							parent
							
								
									447197f62e
								
							
						
					
					
						commit
						770b76d354
					
				
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,15 +1,22 @@ | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| test: FORCE | test: FORCE | ||||||
| 	@echo "Compiling..." | 	@echo "\nCompiling the SQL parser and the tests...\n" | ||||||
| 	@make clean -C src/ >/dev/null || exit 1 | 	@make clean -C src/ >/dev/null || exit 1 | ||||||
| 	@make tests -C src/ >/dev/null || exit 1 | 	@make tests -C src/ >/dev/null || exit 1 | ||||||
| 	@make grammar_test -C src/ >/dev/null || exit 1 | 	@make grammar_test -C src/ >/dev/null || exit 1 | ||||||
| 	@echo "Running tests:" | 	@echo "Running tests..." | ||||||
| 	@./bin/grammar_test -f "src/tests/valid_queries.sql" | 	@./bin/grammar_test -f "src/tests/valid_queries.sql" | ||||||
| 	@./bin/tests | 	@./bin/tests | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | build: FORCE | ||||||
|  | 	@echo "\nBuilding the SQL parser... (Run tests with 'make test')" | ||||||
|  | 	@echo "Build directory: build/\n" | ||||||
|  | 	make -C src/ | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| docs: FORCE | docs: FORCE | ||||||
| 	doxygen docs/doxy.conf | 	doxygen docs/doxy.conf | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pedro
						Pedro