diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2019-08-23 11:48:22 -0700 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2019-08-23 11:48:22 -0700 |
commit | e91e89b2cfc02df3da2084d91b55eff1b73f6bbe (patch) | |
tree | 9ea4c0cfb45da57d74fc1d84dbe0d8cbc44b7676 /tools/install-js-tools.sh | |
parent | b48b1e0219228aa38d5fb55477003295884276b8 (diff) | |
download | zuul-e91e89b2cfc02df3da2084d91b55eff1b73f6bbe.tar.gz |
Document js tool installation in scratch doc
We need the js tools to be present so that zuul from scratch install
docs produce a working javascript build. Add a step to that process to
run our helper script for js toolchain install.
Note this adds support for opensuse to that script as opensuse is a
valid from scratch install target.
Change-Id: I4c3584957f7a4afaeb0315a57d56f93e915eace1
Diffstat (limited to 'tools/install-js-tools.sh')
-rwxr-xr-x | tools/install-js-tools.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/install-js-tools.sh b/tools/install-js-tools.sh index d5c550ed9..cdfa19675 100755 --- a/tools/install-js-tools.sh +++ b/tools/install-js-tools.sh @@ -37,6 +37,9 @@ elif type yum; then $SUDO curl https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo $SUDO $(dirname $0)/install-js-repos-rpm.sh $SUDO yum -y install nodejs yarn +elif type zypper; then + $SUDO zypper install -y nodejs10 npm10 + $SUDO npm install yarn elif type brew; then brew install nodejs yarn else |