diff options
author | Fabien CASTERS <fabien@vaga.io> | 2019-03-03 21:04:26 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2019-03-03 21:36:34 +0300 |
commit | 95cf25a66ce6d29f30c21dfdec518c4e52feb573 (patch) | |
tree | c4fe6a2937cd8c23e7e3192b2321e15c31314a72 /scripts | |
parent | 41e0db683eafb7b3fb7ec09c895df58545069cee (diff) |
Add all feather icons
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_feather_icons.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/update_feather_icons.sh b/scripts/update_feather_icons.sh new file mode 100755 index 0000000..dff5129 --- /dev/null +++ b/scripts/update_feather_icons.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +FEATHER_PATH=`dirname "$0"`/feather + +# Clone feather repository +git clone --depth=1 git@github.com:feathericons/feather.git $FEATHER_PATH + +pushd $FEATHER_PATH + +# Install dependencies +yarn + +mkdir dist + +# Generate icons.json +npx babel-node bin/build-icons-json.js + +# Copy icons.json into theme data +cp dist/icons.json ../../data/m10c/icons.json + +popd + +# Remove the repository +rm -rf $FEATHER_PATH |