Update setup scripts

This commit is contained in:
Veronica Berglyd Olsen
2023-10-17 18:12:35 +02:00
parent a03bd140db
commit 60b977f8ec
4 changed files with 32 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ setup.iss
/novelwriter.desktop
/novelWriter.pyw
/setup/macos/Info.plist
.venv
# Translations
/novelwriter/assets/i18n/*.qm
+15 -1
View File
@@ -1,16 +1,30 @@
#!/bin/bash
set -e
ENVPATH=/tmp/nwBuild
if [ ! -f pkgutils.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH
fi
source $ENVPATH/bin/activate
pip3 install -r docs/source/requirements.txt
python3 pkgutils.py qtlrelease manual sample
deactivate
echo ""
echo " Building Packages"
echo "================================================================================"
echo ""
python3 pkgutils.py qtlrelease manual sample
python3 -m build
mkdir -pv dist_upload
cp -v dist/novelWriter-*.whl dist_upload/
+8
View File
@@ -1,6 +1,8 @@
#!/bin/bash
set -e
ENVPATH=/tmp/nwBuild
if [ ! -f pkgutils.py ]; then
echo "Must be called from the root folder of the source"
exit 1
@@ -10,8 +12,14 @@ echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH
fi
source $ENVPATH/bin/activate
pip3 install -r docs/source/requirements.txt
python3 pkgutils.py clean-assets
python3 pkgutils.py qtlrelease manual sample
deactivate
echo ""
echo " Building Minimal Packages"
+8
View File
@@ -1,6 +1,8 @@
#!/bin/bash
set -e
ENVPATH=/tmp/nwBuild
if [ ! -f pkgutils.py ]; then
echo "Must be called from the root folder of the source"
exit 1
@@ -10,8 +12,14 @@ echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH
fi
source $ENVPATH/bin/activate
pip3 install -r docs/source/requirements.txt
python3 pkgutils.py clean-assets
python3 pkgutils.py qtlrelease manual sample
deactivate
echo ""
echo " Building Linux Snapshots"