Ensure builds also build the standalone binaries

This commit is contained in:
zontreck 2024-07-21 04:39:08 -07:00
parent 812b216c86
commit d5577bb39a
2 changed files with 4 additions and 2 deletions

5
Jenkinsfile vendored
View file

@ -19,8 +19,8 @@ pipeline {
#!/bin/bash #!/bin/bash
flutter pub get flutter pub get
flutter build linux chmod +x compile.sh
flutter build apk ./compile.sh
''' '''
} }
} }
@ -46,6 +46,7 @@ pipeline {
always { always {
archiveArtifacts artifacts: '*.tgz', fingerprint: true archiveArtifacts artifacts: '*.tgz', fingerprint: true
archiveArtifacts artifacts: '*.apk', fingerprint: true archiveArtifacts artifacts: '*.apk', fingerprint: true
archiveArtifacts artifacts: 'out/*', fingerprint: true
deleteDir() deleteDir()
} }
} }

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
flutter build linux flutter build linux
flutter build apk
dart compile exe -o out/nbt2snbt bin/nbt2snbt.dart dart compile exe -o out/nbt2snbt bin/nbt2snbt.dart
dart compile exe -o out/snbt2nbt bin/snbt2nbt.dart dart compile exe -o out/snbt2nbt bin/snbt2nbt.dart