Initial commit
This commit is contained in:
24
themes/kestrel/scripts/update_feather_icons.sh
Executable file
24
themes/kestrel/scripts/update_feather_icons.sh
Executable file
@@ -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 install
|
||||
|
||||
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
|
Reference in New Issue
Block a user