You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							675 B
						
					
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							675 B
						
					
					
				| NODE_OPTS =
 | |
| TEST_OPTS =
 | |
| 
 | |
| love:
 | |
| 	@echo "Feel like makin' love."
 | |
| 
 | |
| test:
 | |
| 	@node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS)
 | |
| 
 | |
| spec:
 | |
| 	@node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS)
 | |
| 
 | |
| autotest:
 | |
| 	@node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS)
 | |
| 
 | |
| autospec:
 | |
| 	@node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS)
 | |
| 
 | |
| pack:
 | |
| 	@file=$$(npm pack); echo "$$file"; tar tf "$$file"
 | |
| 
 | |
| publish:
 | |
| 	npm publish
 | |
| 
 | |
| tag:
 | |
| 	git tag "v$$(node -e 'console.log(require("./package").version)')"
 | |
| 
 | |
| clean:
 | |
| 	rm -f *.tgz
 | |
| 	npm prune --production
 | |
| 
 | |
| .PHONY: love
 | |
| .PHONY: test spec autotest autospec
 | |
| .PHONY: pack publish tag
 | |
| .PHONY: clean
 |