Skip to content

Commit

Permalink
chore: Address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Oct 4, 2022
1 parent 243b1c5 commit 01159df
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ReactCommon/hermes/inspector/tools/run_msggen
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

ROOT=$(pwd)
pushd $ROOT >/dev/null || exit
pushd $ROOT >/dev/null

DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)

Expand All @@ -15,8 +15,8 @@ FBSOURCE=$(hg root)
CLANG_FORMAT="${FBSOURCE}/tools/third-party/clang-format/clang-format"
SIGNEDSOURCE="${FBSOURCE}/tools/signedsource"

popd >/dev/null || exit
cd "packages/hermes-inspector-msggen"
popd >/dev/null
pushd "${ROOT}/packages/hermes-inspector-msggen"

yarn install
yarn build
Expand All @@ -32,3 +32,5 @@ node bin/index.js \

"${SIGNEDSOURCE}" sign "${HEADER_PATH}"
"${SIGNEDSOURCE}" sign "${CPP_PATH}"

popd >/dev/null

0 comments on commit 01159df

Please sign in to comment.