Update build command to explictly invoke yarn build

Summary:
Release note: none

yarn install used to also invoke the build step. This changed a while ago, but this script was not updated accordingly. Apparently no-one noticed until now.
Closes https://github.com/facebook/prepack/pull/1990

Differential Revision: D8081630

Pulled By: hermanventer

fbshipit-source-id: 87a1f6b340010d27a76da39bb5569ffcb3f7a5b8
This commit is contained in:
Herman Venter 2018-05-22 04:20:57 -07:00 committed by Facebook Github Bot
parent b3018aa6af
commit c83d8a350b

View File

@ -18,7 +18,7 @@ DEST_CLONE_DIR="$TMP_DIR/gh-pages"
SCRIPT_NAME=`basename "$0"`
COMMIT_MESSAGE="Website published using $SCRIPT_NAME"
BUILD_COMMAND="yarn install && mv prepack.min.js $SRC_DIR/js/"
BUILD_COMMAND="yarn install && yarn build && mv prepack.min.js $SRC_DIR/js/"
# Utils
RED='\033[0;31m'