mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	fix(build): Windows executable packaging
Fix an issue whereby the Windows zip release contained an extraneous (and annoying) `dist` parent directory.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -86,7 +86,7 @@ $(dist_dir)/cheat-linux-arm64: prepare
 | 
			
		||||
# cheat-windows-amd64
 | 
			
		||||
$(dist_dir)/cheat-windows-amd64.exe: prepare
 | 
			
		||||
	GOARCH=amd64 GOOS=windows \
 | 
			
		||||
	$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(ZIP) $@.zip $@
 | 
			
		||||
	$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(ZIP) $@.zip $@ -j
 | 
			
		||||
 | 
			
		||||
# ./dist
 | 
			
		||||
$(dist_dir):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user