We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b37a9d commit c114e42Copy full SHA for c114e42
scripts/build.sh
@@ -1,11 +1,19 @@
1
#!/bin/bash
2
3
+cd "$(dirname "$0")"
4
+
5
+echo "Installing cargo-msfs"
6
7
# Required for compilation
8
cargo install --git https://github.com/navigraph/cargo-msfs
9
10
cargo-msfs install msfs2020
11
12
+cd ..
13
14
+echo "Starting build from ${pwd}"
15
16
# Flags needed to get sqlite3 to work in the sim
17
export LIBSQLITE3_FLAGS="-DSQLITE_OMIT_SHARED_CACHE -D_LARGEFILE64_SOURCE"
18
-cargo-msfs build msfs2020 -i .. -o ../out/msfs_navigation_data_interface.wasm
19
+cargo-msfs build msfs2020 -o ./out/msfs_navigation_data_interface.wasm
0 commit comments