mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 00:32:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			252 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			252 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -eu
 | |
| 
 | |
| INPUT=$1
 | |
| OUTPUT=$2
 | |
| 
 | |
| cd "$INPUT"
 | |
| 
 | |
| # remove existing file
 | |
| rm -f "$OUTPUT"
 | |
| 
 | |
| # create zip
 | |
| 7z a "$OUTPUT" \
 | |
| 	-xr!.vs \
 | |
| 	CHANGELOG.md \
 | |
| 	examples \
 | |
| 	src \
 | |
| 	keywords.txt \
 | |
| 	library.properties \
 | |
| 	LICENSE.txt \
 | |
| 	README.md \
 | |
| 	ArduinoJson.h
 |