tools: make cloc, counts lines of code
This commit is contained in:
		
							parent
							
								
									94f2b37f12
								
							
						
					
					
						commit
						26ba907a2e
					
				
							
								
								
									
										13
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Makefile
									
									
									
									
									
								
							| @ -1273,13 +1273,12 @@ tagrelease: \ | |||||||
| # 	@darcs changes --from-tag $(FROMTAG) |grep '^\w' |cut -c 31- |sort |uniq
 | # 	@darcs changes --from-tag $(FROMTAG) |grep '^\w' |cut -c 31- |sort |uniq
 | ||||||
| # 	@echo
 | # 	@echo
 | ||||||
| 
 | 
 | ||||||
| # showloc: \
 | cloc: \ | ||||||
| # 	$(call def-help,showloc,\
 | 	$(call def-help,cloc, count lines of source code ) | ||||||
| # 	\
 | 	@echo Lines of code including tests: | ||||||
| # 	)
 | 	@cloc --exclude-lang=HTML --exclude-dir=.stack-work,.idea,dist,old,bin,doc,site,.tutorial-data . | ||||||
| # 	@echo Current lines of code including tests:
 | 	@echo | ||||||
| # 	@sloccount `ls $(SOURCEFILES)` | grep haskell:
 | # `ls $(SOURCEFILES)`
 | ||||||
| # 	@echo
 |  | ||||||
| 
 | 
 | ||||||
| # sloc: \
 | # sloc: \
 | ||||||
| # 	$(call def-help,sloc,\
 | # 	$(call def-help,sloc,\
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user