mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 10:36:13 +00:00
- Verify that the default and legacy provider was loaded successfully. If not bail out. - On Windows, try to load the legacy.dll from multiple locations before bailing out. - Added legacy.dll to the proxytunnel.zip archive.
18 lines
605 B
Bash
18 lines
605 B
Bash
# msys2 windows build script
|
|
|
|
echo "Build docs..."
|
|
make -C docs
|
|
|
|
echo "Build proxytunnel..."
|
|
make -f Makefile
|
|
strip -s proxytunnel.exe
|
|
|
|
echo "Generate proxytunnel.zip with docs, exe and msys/openssl dll..."
|
|
zip proxytunnel.zip proxytunnel.exe docs/proxytunnel.1 docs/proxytunnel.1.html docs/proxytunnel-paper.html
|
|
DLLS="$(ldd proxytunnel.exe | grep msys.*\.dll | awk '{print $3}' | xargs) /usr/lib/ossl-modules/legacy.dll"
|
|
zip proxytunnel.zip -j $DLLS
|
|
|
|
if [ ! -z "${TRAVIS_TAG}" ]; then
|
|
echo "Deploy proxytunnel.zip to github release tag:${TRAVIS_TAG}..."
|
|
/usr/bin/bash ./deploy.sh "proxytunnel.zip"
|
|
fi
|