From ba87bd2255a7cb8051c7d387b2102873cfb8f890 Mon Sep 17 00:00:00 2001 From: Jamie Ford Date: Fri, 8 Nov 2024 15:59:43 +1100 Subject: [PATCH 1/2] chore: build and run script for localnet --- localnet/build_and_run.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 localnet/build_and_run.sh diff --git a/localnet/build_and_run.sh b/localnet/build_and_run.sh new file mode 100755 index 0000000000..ec13e9d871 --- /dev/null +++ b/localnet/build_and_run.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Does a cargo build and then recreates the localnet using the new binaries. +# Usage: ./localnet/build_and_run.sh + +cargo build && ./localnet/recreate.sh -d && cd bouncer && ./setup_for_test.sh From 06e0a5817912005417732a2624bf9be95a46d40b Mon Sep 17 00:00:00 2001 From: Jamie Ford Date: Mon, 11 Nov 2024 10:09:53 +1100 Subject: [PATCH 2/2] chore: brackets on cd Co-authored-by: kylezs --- localnet/build_and_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localnet/build_and_run.sh b/localnet/build_and_run.sh index ec13e9d871..20d1a36074 100755 --- a/localnet/build_and_run.sh +++ b/localnet/build_and_run.sh @@ -2,4 +2,4 @@ # Does a cargo build and then recreates the localnet using the new binaries. # Usage: ./localnet/build_and_run.sh -cargo build && ./localnet/recreate.sh -d && cd bouncer && ./setup_for_test.sh +cargo build && ./localnet/recreate.sh -d && (cd bouncer && ./setup_for_test.sh)