2020-09-02 11:43:33 +02:00

26 lines
473 B
Makefile

.PHONY: all web desktop desktop-common linux windows
CFGDIR ?= configs/sc
all: desktop
-include release.mk
web:
cp $(CFGDIR)/config.json element-web/
yarn --cwd element-web dist
desktop-common: web
yarn --cwd element-desktop run fetch --cfgdir $(CFGDIR)
yarn --cwd element-desktop run build:native
desktop: windows linux
linux: desktop-common
yarn --cwd element-desktop run build64linux
windows: desktop-common
yarn --cwd element-desktop run build64windows