Skip to content

Commit

Permalink
Fix path for downstream runtime.
Browse files Browse the repository at this point in the history
Diffs=
b765280df Fix path for downstream runtime. (#6645)

Co-authored-by: Luigi Rosso <[email protected]>
  • Loading branch information
luigi-rosso and luigi-rosso committed Feb 16, 2024
1 parent ab10ebe commit a040296
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1cf6a65f1cb3f98e113397be9096250f7052a845
b765280df32889e6df18690d840fe8f240871c09
14 changes: 5 additions & 9 deletions dev/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fi

export PREMAKE=$PWD/dependencies/bin/premake5

pushd test &>/dev/null
pushd test

for var in "$@"; do
if [[ $var = "clean" ]]; then
Expand All @@ -70,15 +70,11 @@ elif [[ $machine = "windows" ]]; then
TARGET=vs2022
fi

pushd ../../../
PACKAGES=$PWD
pushd ../../
RUNTIME=$PWD
popd

export PREMAKE_PATH="$PACKAGES/runtime/dependencies/export-compile-commands":"$PACKAGES/runtime/build":"$PREMAKE_PATH"
echo "PREMAKE PATH IS " $PREMAKE_PATH
echo "GOT EXPECTED?"
ls $PACKAGES/runtime/build

export PREMAKE_PATH="$RUNTIME/dependencies/export-compile-commands":"$RUNTIME/build":"$PREMAKE_PATH"
PREMAKE_COMMANDS="--with_rive_text --with_rive_audio=external --config=$CONFIG"

out_dir() {
Expand Down Expand Up @@ -107,4 +103,4 @@ elif [[ $machine = "windows" ]]; then
$OUT_DIR/tests.exe
fi

popd &>/dev/null
popd

0 comments on commit a040296

Please sign in to comment.