mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
[API change] Use just one option to specify the build target.
There is no more option for static or share build. This value is integrated in the build-target.
This commit is contained in:
@ -2,9 +2,4 @@
|
||||
|
||||
set -e
|
||||
|
||||
OPTION=""
|
||||
if [ "${STATIC_BUILD}" = "true" ]; then
|
||||
OPTION="--build-static"
|
||||
fi
|
||||
|
||||
./kiwix-build.py --build-target=${BUILD_TARGET} ${OPTION}
|
||||
./kiwix-build.py $BUILD_OPTION
|
||||
|
@ -6,14 +6,8 @@ SSH_KEY=travis/travisci_builder_id_key
|
||||
|
||||
chmod 600 ${SSH_KEY}
|
||||
|
||||
|
||||
BASE_DIR="BUILD_${BUILD_TARGET}_static/INSTALL"
|
||||
if [ "${BUILD_TARGET}" = "win32" ]; then
|
||||
ARCHIVE_OPTION="--zip"
|
||||
else
|
||||
ARCHIVE_OPTION="--tar"
|
||||
fi
|
||||
./kiwix-deploy.py ${BASE_DIR} ${ARCHIVE_OPTION} \
|
||||
BASE_DIR="BUILD_*/INSTALL"
|
||||
./kiwix-deploy.py ${BASE_DIR} ${ARCHIVE_TYPE} \
|
||||
--deploy \
|
||||
--ssh_private_key=${SSH_KEY} \
|
||||
--server=nightlybot@download.kiwix.org \
|
||||
|
Reference in New Issue
Block a user