Add rama proxy feature flag

This commit is contained in:
Sander Declerck 2026-02-11 14:00:20 +01:00
parent e01b06b238
commit aa667d48e4
No known key found for this signature in database

View file

@ -237,6 +237,9 @@ parse_arguments() {
--include-python) --include-python)
warn "--include-python is deprecated and ignored. Python ecosystem is now included by default." warn "--include-python is deprecated and ignored. Python ecosystem is now included by default."
;; ;;
--experimental-rama-proxy)
USE_RAMA_PROXY=true
;;
*) *)
error "Unknown argument: $arg" error "Unknown argument: $arg"
;; ;;
@ -248,6 +251,7 @@ parse_arguments() {
main() { main() {
# Initialize argument flags # Initialize argument flags
USE_CI_SETUP=false USE_CI_SETUP=false
USE_RAMA_PROXY=false
# Parse command-line arguments # Parse command-line arguments
parse_arguments "$@" parse_arguments "$@"
@ -329,7 +333,7 @@ main() {
info "Binary installed to: $FINAL_FILE" info "Binary installed to: $FINAL_FILE"
# Download safechain-proxy # Download safechain-proxy
if [ "$OS" = "macos" ] || [ "$OS" = "linux" ] || [ "$OS" = "linuxstatic" ]; then if [ "$USE_RAMA_PROXY" = "true" ] && { [ "$OS" = "macos" ] || [ "$OS" = "linux" ] || [ "$OS" = "linuxstatic" ]; }; then
info "Downloading safechain-proxy..." info "Downloading safechain-proxy..."
if [ "$OS" = "macos" ]; then if [ "$OS" = "macos" ]; then