mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	chore: migrate into Github Actions
Replace Travis CI integration in favor of Github Actions.
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -40,17 +40,13 @@ releases :=                        \
 | 
			
		||||
 | 
			
		||||
## build: build an executable for your architecture
 | 
			
		||||
.PHONY: build
 | 
			
		||||
build: $(dist_dir) clean vendor generate man
 | 
			
		||||
build: $(dist_dir) clean fmt lint vet vendor generate man
 | 
			
		||||
	$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
 | 
			
		||||
 | 
			
		||||
## build-release: build release executables
 | 
			
		||||
.PHONY: build-release
 | 
			
		||||
build-release: $(releases)
 | 
			
		||||
 | 
			
		||||
## ci: build a "release" executable for the current architecture (used in ci)
 | 
			
		||||
.PHONY: ci
 | 
			
		||||
ci: | setup prepare build
 | 
			
		||||
 | 
			
		||||
# cheat-darwin-amd64
 | 
			
		||||
$(dist_dir)/cheat-darwin-amd64: prepare
 | 
			
		||||
	GOARCH=amd64 GOOS=darwin \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user