mirror of
				https://github.com/bblanchon/ArduinoJson.git
				synced 2025-11-04 08:31:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			248 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			248 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
ZIP="C:\Program Files\7-Zip\7z.exe"
 | 
						|
 | 
						|
TAG=$(git describe)
 | 
						|
OUTPUT="ArduinoJson-$TAG.zip"
 | 
						|
 | 
						|
cd ..
 | 
						|
 | 
						|
INPUT=$(find ArduinoJson -regex ".*\.\(cpp\|h\|md\|txt\|ino\)$" -not -regex ".*Tests/.*")
 | 
						|
 | 
						|
rm -f $OUTPUT
 | 
						|
"$ZIP" a $OUTPUT $INPUT |