;make: installcommithook
This commit is contained in:
		
							parent
							
								
									13fbd83626
								
							
						
					
					
						commit
						e9d3283d18
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @ -1021,6 +1021,9 @@ make nix-view-commits: $(call def-help,nix-view-commits, show recent haskell com | |||||||
| ###############################################################################
 | ###############################################################################
 | ||||||
| $(call def-help-subheading,MISCELLANEOUS:) | $(call def-help-subheading,MISCELLANEOUS:) | ||||||
| 
 | 
 | ||||||
|  | installcommithook: $(call def-help,installcommithook, symlink bin/commitlint as .git/hooks/commit-msg) | ||||||
|  | 	ln -s ../../bin/commitlint .git/hooks/commit-msg | ||||||
|  | 
 | ||||||
| watch-%: $(call def-help,watch-RULE, run make RULE repeatedly when any committed file changes) | watch-%: $(call def-help,watch-RULE, run make RULE repeatedly when any committed file changes) | ||||||
| 	 @git ls-files | entr -r make $* | 	 @git ls-files | entr -r make $* | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user