From c3c3a8d542b62cfe1ff1db348697a322039d2572 Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 28 Aug 2024 17:41:30 -0700 Subject: [PATCH] Adjustment to instructions --- Jenkinsfile | 3 +++ compile.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 3b65d35..21ea3f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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() } } diff --git a/compile.sh b/compile.sh index f3709a0..0002066 100755 --- a/compile.sh +++ b/compile.sh @@ -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/