Adjustment to instructions

This commit is contained in:
zontreck 2024-08-28 17:41:30 -07:00
parent f9e117387b
commit c3c3a8d542
2 changed files with 7 additions and 0 deletions

3
Jenkinsfile vendored
View file

@ -76,11 +76,14 @@ pipeline {
script {
bat 'flutter pub get'
bat 'flutter build windows'
bat 'mkdir out'
bat 'dart compile exe -o out\\server.exe bin\\server.dart'
}
}
post {
always {
archiveArtifacts artifacts: "out\\*.exe", fingerprint: true
deleteDir()
}
}

View file

@ -5,11 +5,15 @@ then
mkdir out
fi
flutter pub get
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/