mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +08:00 
			
		
		
		
	update makefile
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									b6c973ef1e
								
							
						
					
					
						commit
						7f168bd1cb
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @ -10,7 +10,7 @@ GOFMT ?= gofmt "-s" | |||||||
| 
 | 
 | ||||||
| TARGETS ?= linux darwin windows | TARGETS ?= linux darwin windows | ||||||
| PACKAGES ?= $(shell go list ./... | grep -v /vendor/) | PACKAGES ?= $(shell go list ./... | grep -v /vendor/) | ||||||
| GOFILES := find . -name "*.go" -type f -not -path "./vendor/*" | GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*") | ||||||
| SOURCES ?= $(shell find . -name "*.go" -type f) | SOURCES ?= $(shell find . -name "*.go" -type f) | ||||||
| TAGS ?= | TAGS ?= | ||||||
| LDFLAGS ?= -X 'main.Version=$(VERSION)' | LDFLAGS ?= -X 'main.Version=$(VERSION)' | ||||||
| @ -39,7 +39,7 @@ fmt-check: | |||||||
| 		fi; | 		fi; | ||||||
| 
 | 
 | ||||||
| fmt: | fmt: | ||||||
| 	$(GOFILES) | xargs $(GOFMT) -w | 	$(GOFMT) -w $(GOFILES) | ||||||
| 
 | 
 | ||||||
| vet: | vet: | ||||||
| 	go vet $(PACKAGES) | 	go vet $(PACKAGES) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu