Check if docker env is defined

This commit is contained in:
zontreck 2024-08-28 17:36:52 -07:00
parent 38e6159f59
commit f9e117387b
3 changed files with 7 additions and 2 deletions

View file

@ -5,7 +5,11 @@ then
mkdir out
fi
flutter build linux
if [[ -z "${DOCKER}" ]]
then
flutter build linux
fi
dart compile exe -o out/server bin/server.dart
rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/