-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(script): add postinstall script and fix yarnlinked script
- Loading branch information
marc.sirisak
committed
Apr 24, 2024
1 parent
92271f4
commit ae77987
Showing
3 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
# This postinstall script is to make sure we use the linked-dependencies module for matrx-react-sdk | ||
|
||
./scripts/tchap/apply_patches.sh | ||
|
||
cd linked-dependencies | ||
pushd matrix-react-sdk | ||
yarn unlink # :TCHAP: for local build, undo previous links if present. | ||
yarn link | ||
yarn install --pure-lockfile | ||
popd | ||
|
||
cd .. | ||
# Link the layers into element-web | ||
yarn link matrix-react-sdk | ||
|