Files
shadowsocks-libev/scripts/git_archive.sh
T
Max Lv 201e70c4bd Modernize C builds with offline dependencies and portable runtime helpers (#3050)
Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.

Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
2026-09-11 13:42:11 +08:00

15 lines
424 B
Bash
Executable File

#!/usr/bin/env bash
# Backward-compatible maintainer entrypoint for the offline release archive.
set -euo pipefail
root=$(git rev-parse --show-toplevel)
name=shadowsocks-libev
directory=$root
while getopts "n:o:" opt; do
case "$opt" in
n) name=$OPTARG ;;
o) directory=$OPTARG ;;
*) exit 1 ;;
esac
done
exec python3 "$root/scripts/source_archive.py" "$directory/$name.tar.gz" --prefix "$name"