You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
645 B
31 lines
645 B
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
CONTRIB="$(dirname "$(readlink -e "$0")")"
|
|
ROOT_FOLDER="$CONTRIB"/..
|
|
PACKAGES="$ROOT_FOLDER"/packages/
|
|
LOCALE="$ROOT_FOLDER"/electrum/locale/
|
|
|
|
if [ ! -d "$LOCALE" ]; then
|
|
echo "Run make_locale first!"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "$PACKAGES" ]; then
|
|
echo "Run make_packages first!"
|
|
exit 1
|
|
fi
|
|
|
|
(
|
|
cd "$ROOT_FOLDER"
|
|
|
|
echo "'git clean -fd' would delete the following files: >>>"
|
|
git clean -fd --dry-run
|
|
echo "<<<"
|
|
|
|
# we could build the kivy atlas potentially?
|
|
#(cd electrum/gui/kivy/; make theming) || echo "building kivy atlas failed! skipping."
|
|
|
|
python3 setup.py --quiet sdist --format=zip,gztar
|
|
)
|
|
|