13 lines
		
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| ALL_TESTS = $(shell find test/ -name '*.test.js')
 | |
| 
 | |
| run-tests:
 | |
| 	@./node_modules/.bin/mocha \
 | |
| 		-t 2000 \
 | |
| 		$(TESTFLAGS) \
 | |
| 		$(TESTS)
 | |
| 
 | |
| test:
 | |
| 	@$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
 | |
| 
 | |
| .PHONY: test
 |