CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/scripts/build_examples.sh
Views: 1798
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