-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
38 lines (30 loc) · 815 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
start: dev-with-p2p
# ------------------------------------
# Working with old server mode
# ------------------------------------
build: build-with-server
build-with-server:
TALK_MODE=server yarn build
dev-with-server:
TALK_MODE=server yarn start:dev
# ------------------------------------
# Working with peer to peer
# ------------------------------------
build-with-p2p:
TALK_MODE=p2p yarn build
dev-with-p2p:
TALK_MODE=p2p yarn start:dev:front
# ------------------------------------
install:
yarn install
update:
nix flake update .
# ------------------------------------
# Run vim in nix with node 16
# - allows elm language server to work
# ------------------------------------
vim:
nix-shell --packages nodejs-16_x --command 'nvim'
# ------------------------------------
run-doc:
yarn start:doc