1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-24 00:35:14 +03:00

Add opentx os x build vm and allow more cores to be used for fast mac… (#3947)

* Add opentx os x build vm and allow more cores to be used for fast machines.
This commit is contained in:
Arne Schwabe 2016-10-23 13:18:26 +02:00 committed by Damjan Adamic
parent 73a7027eb9
commit e580927fc1
3 changed files with 44 additions and 20 deletions

View file

@ -1,5 +1,9 @@
#!/bin/bash
# Stops on first error, echo on
set -e
set -x
# Allow variable core usage, default uses two cores, to set 8 cores for example : commit-tests.sh -j8
CORES=2
for i in "$@"
@ -16,9 +20,6 @@ case $i in
esac
done
# Stops on first error, echo on
set -e
set -x
if [ "$(uname)" = "Darwin" ]; then
SCRIPT=$(python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")