Skip to content

Commit

Permalink
Fix sprite json
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper committed May 30, 2024
1 parent 767168e commit 748d1c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions build_sprites.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash

mkdir -p ./temp
mkdir -p ./temp/svgs
cp -a ./svgs/svgs_not_in_iconset/. ./temp/svgs/
cp -a ./svgs/svgs_iconset/. ./temp/svgs/
wget -P ./temp https://github.com/flother/spreet/releases/download/v0.11.0/spreet-x86_64-unknown-linux-musl.tar.gz
tar -xzvf ./temp/spreet-x86_64-unknown-linux-musl.tar.gz -C ./temp
./temp/spreet --unique --minify-index-file --recursive ./svgs ./sprites/osm-liberty
./temp/spreet --unique --minify-index-file --recursive --retina ./svgs ./sprites/osm-liberty@2x
./temp/spreet --unique --minify-index-file --recursive ./temp/svgs/ ./sprites/osm-liberty
./temp/spreet --unique --minify-index-file --recursive --retina ./temp/svgs/ ./sprites/osm-liberty@2x
rm -r temp
Loading

0 comments on commit 748d1c1

Please sign in to comment.