chore: release script added
This commit is contained in:
@@ -366,3 +366,11 @@ png = 'xterm.png'
|
|||||||
x11_name = 'xterm'
|
x11_name = 'xterm'
|
||||||
win_name = 'IBeam'
|
win_name = 'IBeam'
|
||||||
x11_symlinks = ["ibeam", "text"]
|
x11_symlinks = ["ibeam", "text"]
|
||||||
|
|
||||||
|
[cursors.zoom-in]
|
||||||
|
png = 'zoom-in.png'
|
||||||
|
x11_name = 'zoom-in'
|
||||||
|
|
||||||
|
[cursors.zoom-out]
|
||||||
|
png = 'zoom-out.png'
|
||||||
|
x11_name = 'zoom-out'
|
||||||
|
|||||||
Executable
+53
@@ -0,0 +1,53 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# A script for preparing binaries for version release of BreezeX Cursors, by Abdulkaiz Khatri
|
||||||
|
|
||||||
|
declare -A names
|
||||||
|
names["BreezeX-Dark"]="BreezeX Dark cursors."
|
||||||
|
names["BreezeX-Black"]="BreezeX Black cursors."
|
||||||
|
names["BreezeX-Light"]="BreezeX Light cursors."
|
||||||
|
|
||||||
|
# Cleanup old builds
|
||||||
|
rm -rf themes bin
|
||||||
|
|
||||||
|
# Building BreezeX XCursor binaries
|
||||||
|
for key in "${!names[@]}";
|
||||||
|
do
|
||||||
|
comment="${names[$key]}";
|
||||||
|
ctgen build.toml -p x11 -d "bitmaps/$key" -n "$key" -c "$comment" &
|
||||||
|
PID=$!
|
||||||
|
wait $PID
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# Building BreezeX Windows binaries
|
||||||
|
for key in "${!names[@]}";
|
||||||
|
do
|
||||||
|
comment="${names[$key]}";
|
||||||
|
ctgen build.toml -p windows -s 16 -d "bitmaps/$key" -n "$key-Small" -c "$comment" &
|
||||||
|
ctgen build.toml -p windows -s 24 -d "bitmaps/$key" -n "$key-Regular" -c "$comment" &
|
||||||
|
ctgen build.toml -p windows -s 32 -d "bitmaps/$key" -n "$key-Large" -c "$comment" &
|
||||||
|
ctgen build.toml -p windows -s 48 -d "bitmaps/$key" -n "$key-Extra-Large" -c "$comment" &
|
||||||
|
PID=$!
|
||||||
|
wait $PID
|
||||||
|
done
|
||||||
|
|
||||||
|
# Compressing Binaries
|
||||||
|
mkdir -p bin
|
||||||
|
cd themes
|
||||||
|
|
||||||
|
for key in "${!names[@]}";
|
||||||
|
do
|
||||||
|
tar -czvf "../bin/${key}.tar.gz" "${key}" &
|
||||||
|
PID=$!
|
||||||
|
wait $PID
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
for key in "${!names[@]}";
|
||||||
|
do
|
||||||
|
zip -rv "../bin/${key}-Windows.zip" "${key}-Small-Windows" "${key}-Regular-Windows" "${key}-Large-Windows" "${key}-Extra-Large-Windows" &
|
||||||
|
PID=$!
|
||||||
|
wait $PID
|
||||||
|
done
|
||||||
|
|
||||||
|
cd ..
|
||||||
Reference in New Issue
Block a user