Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/scripts/build_examples.sh
9402 views
1
#!/usr/bin/env bash
2
3
set -e
4
5
cat >&2 <<EOF
6
This script is deprecated in favour of running waf with 'examples' as the main command
7
8
cd \$ARDUPILOT_HOME
9
./modules/waf/waf-light configure --board=linux
10
./modules/waf/waf-light examples
11
12
Sleeping for a few seconds to let you digest that.
13
EOF
14
15
sleep 4
16
17
set -x
18
19
PY="$(dirname $0)/build_examples.py"
20
21
$PY $*
22
23