Skip to content

Commit c114e42

Browse files
committed
workflow: attempt to fix new build
1 parent 5b37a9d commit c114e42

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/build.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
#!/bin/bash
22

3+
cd "$(dirname "$0")"
4+
5+
echo "Installing cargo-msfs"
6+
37
# Required for compilation
48
cargo install --git https://github.com/navigraph/cargo-msfs
59

610
cargo-msfs install msfs2020
711

12+
cd ..
13+
14+
echo "Starting build from ${pwd}"
15+
816
# Flags needed to get sqlite3 to work in the sim
917
export LIBSQLITE3_FLAGS="-DSQLITE_OMIT_SHARED_CACHE -D_LARGEFILE64_SOURCE"
1018

11-
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

Comments
 (0)