rust-nex/test-edition.sh

14 lines
273 B
Shell
Raw Normal View History

2025-11-13 14:06:08 +01:00
#!/usr/bin/env bash
2026-04-26 14:57:02 +02:00
set -euo pipefail
2025-11-13 14:06:08 +01:00
if [ -z ${EDITION+x} ]; then
EDITION=$1
fi
# comma seperated list of features for the specified version
source ./buildscripts/common.sh
echo FEATURES:
echo $EDITION_FEATURES
cargo build --release --features "$EDITION_FEATURES"