build-arduino-package.sh 252 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. set -eu
  3. INPUT=$1
  4. OUTPUT=$2
  5. cd "$INPUT"
  6. # remove existing file
  7. rm -f "$OUTPUT"
  8. # create zip
  9. 7z a "$OUTPUT" \
  10. -xr!.vs \
  11. CHANGELOG.md \
  12. examples \
  13. src \
  14. keywords.txt \
  15. library.properties \
  16. LICENSE.txt \
  17. README.md \
  18. ArduinoJson.h