File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ npm install
13
13
# apparently npm 3.10.3 on node 6.4.0 doesn't upgrade #develop target with npm install unless explicitly asked.
14
14
npm install matrix-react-sdk matrix-js-sdk
15
15
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
21
+
16
22
# we may be using a dev branch of react-sdk, in which case we need to build it
17
23
(cd node_modules/matrix-react-sdk && npm run build)
18
24
Original file line number Diff line number Diff line change 90
90
"webpack" : " ^1.12.14"
91
91
},
92
92
"optionalDependencies" : {
93
- "olm" : " https://matrix.org/packages/npm/olm/olm-1.1 .0.tgz"
93
+ "olm" : " https://matrix.org/packages/npm/olm/olm-1.2 .0.tgz"
94
94
}
95
95
}
You can’t perform that action at this time.
0 commit comments