mirror of
https://github.com/S2-/gitlit
synced 2025-08-02 12:20:05 +02:00
16 lines
211 B
Bash
Executable File
16 lines
211 B
Bash
Executable File
#/bin/bash
|
|
rm -rf dist
|
|
mkdir dist
|
|
node_modules/.bin/electron-packager ./app/ gitlit --all --out dist/
|
|
|
|
cd dist
|
|
|
|
for d in *; do
|
|
if [[ -d "$d" ]]; then
|
|
tar czf "$d.tgz" "$d"
|
|
rm -rf "$d"
|
|
fi
|
|
done
|
|
|
|
cd ..
|