Skip to content

Commit 835d13c

Browse files
committed
Another go at using latest Olm
The previous attempt failed due to npm shenanigans. Let's have another go, without the "help" of npm.
1 parent c0eb699 commit 835d13c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

jenkins.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ npm install
1313
# apparently npm 3.10.3 on node 6.4.0 doesn't upgrade #develop target with npm install unless explicitly asked.
1414
npm install matrix-react-sdk matrix-js-sdk
1515

16-
# install olm
17-
npm install ./olm/olm-*.tgz
16+
# install olm. A naive 'npm i ./olm/olm-*.tgz' fails because it uses the url
17+
# from our package.json (or even matrix-js-sdk's) in preference.
18+
tar -C olm -xz < olm/olm-*.tgz
19+
rm -r node_modules/olm
20+
cp -r olm/package node_modules/olm
1821

1922
# we may be using a dev branch of react-sdk, in which case we need to build it
2023
(cd node_modules/matrix-react-sdk && npm run build)

0 commit comments

Comments
 (0)