You've already forked focalboard
							
							
				mirror of
				https://github.com/mattermost/focalboard.git
				synced 2025-10-31 00:17:42 +02:00 
			
		
		
		
	Adding server lint check
This commit is contained in:
		
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @@ -20,6 +20,13 @@ generate: | ||||
| 	cd server; go get -modfile=go.tools.mod github.com/jteeuwen/go-bindata | ||||
| 	cd server; go generate ./... | ||||
|  | ||||
| server-lint: | ||||
| 	@if ! [ -x "$$(command -v golangci-lint)" ]; then \ | ||||
|         echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \ | ||||
|         exit 1; \ | ||||
|     fi; \ | ||||
|     cd server; golangci-lint run ./... | ||||
|  | ||||
| watch-server: | ||||
| 	cd server; modd | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user