mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-06-10 04:35:52 +02:00
Allow specifying config
This commit is contained in:
11
Makefile
11
Makefile
@ -1,12 +1,19 @@
|
||||
.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 ''
|
||||
yarn --cwd element-desktop run fetch --cfgdir $(CFGDIR)
|
||||
yarn --cwd element-desktop run build:native
|
||||
|
||||
desktop: windows linux
|
||||
@ -16,5 +23,3 @@ linux: desktop-common
|
||||
|
||||
windows: desktop-common
|
||||
yarn --cwd element-desktop run build64windows
|
||||
|
||||
-include release.mk
|
||||
|
Reference in New Issue
Block a user