mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 21:24:27 +02:00
Use yarnpkg instead of yarn command
Also works on debian
This commit is contained in:
parent
e3836332ed
commit
432a05c809
12
Makefile
12
Makefile
@ -4,22 +4,24 @@ CFGDIR ?= configs/sc
|
|||||||
|
|
||||||
all: desktop
|
all: desktop
|
||||||
|
|
||||||
|
YARN ?= yarnpkg
|
||||||
|
|
||||||
|
|
||||||
-include release.mk
|
-include release.mk
|
||||||
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
cp $(CFGDIR)/config.json element-web/
|
cp $(CFGDIR)/config.json element-web/
|
||||||
yarn --cwd element-web dist
|
$(YARN) --cwd element-web dist
|
||||||
|
|
||||||
desktop-common: web
|
desktop-common: web
|
||||||
yarn --cwd element-desktop run fetch --cfgdir ''
|
$(YARN) --cwd element-desktop run fetch --cfgdir ''
|
||||||
yarn --cwd element-desktop run build:native
|
$(YARN) --cwd element-desktop run build:native
|
||||||
|
|
||||||
desktop: windows linux
|
desktop: windows linux
|
||||||
|
|
||||||
linux: desktop-common
|
linux: desktop-common
|
||||||
yarn --cwd element-desktop run build64linux
|
$(YARN) --cwd element-desktop run build64linux
|
||||||
|
|
||||||
windows: desktop-common
|
windows: desktop-common
|
||||||
yarn --cwd element-desktop run build64windows
|
$(YARN) --cwd element-desktop run build64windows
|
||||||
|
28
setup.sh
28
setup.sh
@ -2,28 +2,30 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
yarn=yarnpkg
|
||||||
|
|
||||||
pushd matrix-js-sdk
|
pushd matrix-js-sdk
|
||||||
yarn link
|
$yarn link
|
||||||
yarn install
|
$yarn install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd matrix-react-sdk
|
pushd matrix-react-sdk
|
||||||
yarn link matrix-js-sdk
|
$yarn link matrix-js-sdk
|
||||||
yarn link
|
$yarn link
|
||||||
yarn install
|
$yarn install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd element-web
|
pushd element-web
|
||||||
yarn link matrix-js-sdk
|
$yarn link matrix-js-sdk
|
||||||
yarn link matrix-react-sdk
|
$yarn link matrix-react-sdk
|
||||||
yarn link
|
$yarn link
|
||||||
yarn install
|
$yarn install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd element-desktop
|
pushd element-desktop
|
||||||
yarn link matrix-js-sdk
|
$yarn link matrix-js-sdk
|
||||||
yarn link matrix-react-sdk
|
$yarn link matrix-react-sdk
|
||||||
yarn link riot-web
|
$yarn link riot-web
|
||||||
yarn install
|
$yarn install
|
||||||
ln -s ../element-web/webapp ./ || true
|
ln -s ../element-web/webapp ./ || true
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user