mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
refactored overall bulid process scripts
This commit is contained in:
parent
f2e7a432ba
commit
cbcbc879c9
14
buildScripts/createImages
Normal file
14
buildScripts/createImages
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This bash script creates the pdf2htmlEX AppImage and Docker Images
|
||||||
|
|
||||||
|
#################
|
||||||
|
# do the creation
|
||||||
|
|
||||||
|
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; }
|
||||||
|
|
||||||
|
./buildScripts/createAppImage || { echo 'createAppImage FAILED' ; exit 1 ; }
|
||||||
|
|
||||||
|
./buildScripts/createDockerImage || { echo 'createDockerImage FAILED' ; exit 1 ; }
|
||||||
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This bash script builds the complete pdf2htmlEX application LOCALLY
|
|
||||||
# (It creates local versions of the AppImage or Docker images)
|
|
||||||
|
|
||||||
# Adjust the following two environment variables to suit your needs
|
|
||||||
#
|
|
||||||
export UNATTENDED="--assume-yes"
|
|
||||||
export MAKE_PARALLEL="-j $(nproc)"
|
|
||||||
|
|
||||||
# choose one of the following...
|
|
||||||
#
|
|
||||||
export PDF2HTMLEX_BRANCH=newBuildSystem
|
|
||||||
# export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
||||||
|
|
||||||
################
|
|
||||||
# do the build
|
|
||||||
|
|
||||||
./buildScripts/versionEnvs || { echo 'versionEnvs FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/getBuildTools || { echo 'getBuildTools FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/getDevLibraries || { echo 'getDevLibraries FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/getPoppler || { echo 'getPoppler FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/buildPoppler || { echo 'buildPoppler FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/installPoppler || { echo 'installPoppler FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/getFontforge || { echo 'getFontforge FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/buildFontforge || { echo 'buildFontforge FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/installFontforge || { echo 'installFontforge FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/buildPdf2htmlEX || { echo 'buildPdf2htmlEX FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/installPdf2htmlEX || { echo 'installPdf2htmlEX FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/createAppImage || { echo 'createAppImage FAILED' ; exit 1 ; }
|
|
||||||
|
|
||||||
./buildScripts/createDockerImage || { echo 'createDockerImage FAILED' ; exit 1 ; }
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
|||||||
################
|
################
|
||||||
# do the uploads
|
# do the uploads
|
||||||
|
|
||||||
|
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; }
|
||||||
|
|
||||||
./buildScripts/uploadGitHubRelease || { echo 'uploadGitHubRelease FAILED' ; exit 1 ; }
|
./buildScripts/uploadGitHubRelease || { echo 'uploadGitHubRelease FAILED' ; exit 1 ; }
|
||||||
|
|
||||||
./buildScripts/uploadDockerImage || { echo 'uploadDockerImage FAILED' ; exit 1 ; }
|
./buildScripts/uploadDockerImage || { echo 'uploadDockerImage FAILED' ; exit 1 ; }
|
||||||
|
Loading…
Reference in New Issue
Block a user