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