Skip to content

Commit

Permalink
Make Morpheus build script take optional path (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle authored Oct 18, 2024
1 parent 0658976 commit 22241f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/morpheusvm/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ MORPHEUSVM_PATH=$(
cd .. && pwd
)

# if there's exactly one argument use it as the output path to go build
if [[ $# -eq 1 ]]; then
go build -o "$1" ./cmd/morpheusvm
exit 0
fi

build_project "$MORPHEUSVM_PATH" "morpheusvm" "pkEmJQuTUic3dxzg8EYnktwn4W7uCHofNcwiYo458vodAUbY7"

0 comments on commit 22241f5

Please # to comment.