Skip to content

Commit

Permalink
update submodules to use last ricochet-2
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed May 16, 2024
1 parent c6f5cec commit 0cafa28
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions local-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@ export OSC_ACCESS_KEY=11112211111110000000
export OSC_ENDPOINT_API=http://127.0.0.1:3000


if [ ! -d "osc-ricochet-2" ]; then
git clone https://github.com/outscale-mgo/osc-ricochet-2
fi
if [ "$#" -eq 0 ]; then

if [ ! -d "osc-ricochet-2" ]; then
git clone https://github.com/outscale/osc-ricochet-2
fi

cd osc-ricochet-2
pkill ricochet
cd osc-ricochet-2
pkill ricochet

cargo build
cargo run -- ./ricochet.json > /dev/null &
cargo build
cargo run -- ./ricochet.json > /dev/null &

sleep 5
sleep 5

cd ..
cd ..

fi

set -e

Expand Down

0 comments on commit 0cafa28

Please sign in to comment.