forked from spacebar/rust-nex
it was a hard 3 minutes of thinking but i realized we run containers anyways so??? it was kinda useless
14 lines
273 B
Shell
Executable file
14 lines
273 B
Shell
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
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"
|