mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-06-10 12:40:47 +02:00
Use yarnpkg instead of yarn command
Also works on debian
This commit is contained in:
12
Makefile
12
Makefile
@ -4,22 +4,24 @@ CFGDIR ?= configs/sc
|
||||
|
||||
all: desktop
|
||||
|
||||
YARN ?= yarnpkg
|
||||
|
||||
|
||||
-include release.mk
|
||||
|
||||
|
||||
web:
|
||||
cp $(CFGDIR)/config.json element-web/
|
||||
yarn --cwd element-web dist
|
||||
$(YARN) --cwd element-web dist
|
||||
|
||||
desktop-common: web
|
||||
yarn --cwd element-desktop run fetch --cfgdir ''
|
||||
yarn --cwd element-desktop run build:native
|
||||
$(YARN) --cwd element-desktop run fetch --cfgdir ''
|
||||
$(YARN) --cwd element-desktop run build:native
|
||||
|
||||
desktop: windows linux
|
||||
|
||||
linux: desktop-common
|
||||
yarn --cwd element-desktop run build64linux
|
||||
$(YARN) --cwd element-desktop run build64linux
|
||||
|
||||
windows: desktop-common
|
||||
yarn --cwd element-desktop run build64windows
|
||||
$(YARN) --cwd element-desktop run build64windows
|
||||
|
Reference in New Issue
Block a user