mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Updated for v4.0
This commit is contained in:
		| @@ -1,14 +1,22 @@ | ||||
| #!/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/.*") | ||||
| cd ../.. | ||||
|  | ||||
| # remove existing file | ||||
| rm -f $OUTPUT | ||||
| "$ZIP" a $OUTPUT $INPUT | ||||
|  | ||||
| # create zip | ||||
| "$ZIP" a $OUTPUT \ | ||||
| 	ArduinoJson/CHANGELOG.md \ | ||||
| 	ArduinoJson/doc \ | ||||
| 	ArduinoJson/examples \ | ||||
| 	ArduinoJson/include \ | ||||
| 	ArduinoJson/keywords.txt \ | ||||
| 	ArduinoJson/library.properties \ | ||||
| 	ArduinoJson/LICENSE.md \ | ||||
| 	ArduinoJson/README.md \ | ||||
| 	ArduinoJson/src	 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user