Skip to content

Commit a8f8158

Browse files
committed
simplify build-all script (don’t make "release" folder)
1 parent 9a3ad9b commit a8f8158

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

scripts/build-all.sh

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,10 @@
44

55
set -e
66

7-
if [ -z "$1" ];then
8-
echo "No argument supplied – font path required"
9-
exit 1
10-
fi
11-
12-
fontPath=$1
13-
14-
version=$(font-v report $fontPath | tail -1)
15-
release=ArrowType-RecMonoCode-v$version
16-
17-
echo $release
18-
197
rm -rf ./fonts
208

219
configs=$(ls ./premade-configs)
2210

2311
for config in $configs; do
24-
python3 scripts/instantiate-code-fonts.py ./premade-configs/$config $fontPath
12+
python3 scripts/instantiate-code-fonts.py ./premade-configs/$config
2513
done
26-
27-
cp -r ./fonts ./$release
28-
29-
zip $release.zip -r $release -x .DS_*
30-
31-
rm -rf $release

0 commit comments

Comments
 (0)