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 {
|
script {
|
||||||
bat 'flutter pub get'
|
bat 'flutter pub get'
|
||||||
bat 'flutter build windows'
|
bat 'flutter build windows'
|
||||||
|
bat 'mkdir out'
|
||||||
|
bat 'dart compile exe -o out\\server.exe bin\\server.dart'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
archiveArtifacts artifacts: "out\\*.exe", fingerprint: true
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,15 @@ then
|
||||||
mkdir out
|
mkdir out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
flutter pub get
|
||||||
|
|
||||||
|
|
||||||
if [[ -z "${DOCKER}" ]]
|
if [[ -z "${DOCKER}" ]]
|
||||||
then
|
then
|
||||||
flutter build linux
|
flutter build linux
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
dart compile exe -o out/server bin/server.dart
|
dart compile exe -o out/server bin/server.dart
|
||||||
rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/
|
rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue