forked from bblanchon/ArduinoJson
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
|