mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 13:24:04 +02:00
Makefile: Let config be copied in setup target
This commit is contained in:
parent
2f51bd750d
commit
93547b09d8
2
Makefile
2
Makefile
@ -35,10 +35,10 @@ CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
|
|||||||
|
|
||||||
setup:
|
setup:
|
||||||
if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
|
if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
|
||||||
|
cp $(CFGDIR)/config.json element-web/
|
||||||
|
|
||||||
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
|
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
|
||||||
web: setup
|
web: setup
|
||||||
cp $(CFGDIR)/config.json element-web/
|
|
||||||
$(YARN) --cwd element-web dist
|
$(YARN) --cwd element-web dist
|
||||||
|
|
||||||
desktop-common: web
|
desktop-common: web
|
||||||
|
@ -54,7 +54,7 @@ $ source .bashrc
|
|||||||
```
|
```
|
||||||
git clone --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git
|
git clone --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git
|
||||||
cd schildichat-desktop
|
cd schildichat-desktop
|
||||||
./setup.sh
|
make setup # optional step if using the other make targets
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user