Update setup scripts
This commit is contained in:
@@ -10,6 +10,7 @@ setup.iss
|
|||||||
/novelwriter.desktop
|
/novelwriter.desktop
|
||||||
/novelWriter.pyw
|
/novelWriter.pyw
|
||||||
/setup/macos/Info.plist
|
/setup/macos/Info.plist
|
||||||
|
.venv
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
/novelwriter/assets/i18n/*.qm
|
/novelwriter/assets/i18n/*.qm
|
||||||
|
|||||||
+15
-1
@@ -1,16 +1,30 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
ENVPATH=/tmp/nwBuild
|
||||||
|
|
||||||
if [ ! -f pkgutils.py ]; then
|
if [ ! -f pkgutils.py ]; then
|
||||||
echo "Must be called from the root folder of the source"
|
echo "Must be called from the root folder of the source"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 ""
|
||||||
echo " Building Packages"
|
echo " Building Packages"
|
||||||
echo "================================================================================"
|
echo "================================================================================"
|
||||||
echo ""
|
echo ""
|
||||||
python3 pkgutils.py qtlrelease manual sample
|
|
||||||
python3 -m build
|
python3 -m build
|
||||||
mkdir -pv dist_upload
|
mkdir -pv dist_upload
|
||||||
cp -v dist/novelWriter-*.whl dist_upload/
|
cp -v dist/novelWriter-*.whl dist_upload/
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
ENVPATH=/tmp/nwBuild
|
||||||
|
|
||||||
if [ ! -f pkgutils.py ]; then
|
if [ ! -f pkgutils.py ]; then
|
||||||
echo "Must be called from the root folder of the source"
|
echo "Must be called from the root folder of the source"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -10,8 +12,14 @@ echo ""
|
|||||||
echo " Building Dependencies"
|
echo " Building Dependencies"
|
||||||
echo "================================================================================"
|
echo "================================================================================"
|
||||||
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 clean-assets
|
||||||
python3 pkgutils.py qtlrelease manual sample
|
python3 pkgutils.py qtlrelease manual sample
|
||||||
|
deactivate
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " Building Minimal Packages"
|
echo " Building Minimal Packages"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
ENVPATH=/tmp/nwBuild
|
||||||
|
|
||||||
if [ ! -f pkgutils.py ]; then
|
if [ ! -f pkgutils.py ]; then
|
||||||
echo "Must be called from the root folder of the source"
|
echo "Must be called from the root folder of the source"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -10,8 +12,14 @@ echo ""
|
|||||||
echo " Building Dependencies"
|
echo " Building Dependencies"
|
||||||
echo "================================================================================"
|
echo "================================================================================"
|
||||||
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 clean-assets
|
||||||
python3 pkgutils.py qtlrelease manual sample
|
python3 pkgutils.py qtlrelease manual sample
|
||||||
|
deactivate
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " Building Linux Snapshots"
|
echo " Building Linux Snapshots"
|
||||||
|
|||||||
Reference in New Issue
Block a user