Adjustment to instructions
This commit is contained in:
parent
f9e117387b
commit
c3c3a8d542
2 changed files with 7 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue