Check if docker env is defined
This commit is contained in:
parent
38e6159f59
commit
f9e117387b
3 changed files with 7 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue