File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,16 @@ function print_help() {
1010 echo " OUTPUT_DIRECTORY: Directory where artifacts will be stored"
1111}
1212
13+ build_exe=" --exe"
14+ build_msix=" --msix"
15+
1316while [[ " $# " -gt 0 ]]; do
1417 case $1 in
1518 -h) print_help; exit ;;
1619 --host) host=" $2 " ; shift ;;
1720 -c|--commit) commit=" $2 " ; shift ;;
21+ --no-exe) build_exe=' ' ;;
22+ --no-msix) build_msix=' ' ;;
1823 --out) out_dir=" $2 " ; shift ;;
1924 * ) echo " Unknown argument: $1 " ; print_help; exit 1 ;;
2025 esac
@@ -92,7 +97,7 @@ exe c:/ouisync-app/ouisync/bindings/dart dart tool/bindgen.dart
9297
9398# Build Ouisync
9499exe c:/ouisync-app dart pub get
95- exe c:/ouisync-app dart run util/release.dart --flavor=production --sentry=C:/secrets/sentry_dsn --exe --msix
100+ exe c:/ouisync-app dart run util/release.dart --flavor=production --sentry=C:/secrets/sentry_dsn $build_exe $build_msix
96101
97102# Collect artifacts. Hyper-V doesn't allow `docker cp` from a running container, so using scp
98103function setup_sshd() {
You can’t perform that action at this time.
0 commit comments