aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 739721e37f94e546cb6933f38a553f0fd39bcf30 (plain)
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
.PHONY: run client-build server-run server-build watch install
build: client-build server-build
run: client-build server-run
install: install-server install-native
client-build:
	make -C client-web all
server-run:
	make -C server run
server-build:
	make -C server release
watch:
	make -C client-web watch &
	make -C server watch
watch-public:
	make -C client-web watch &
	make -C server watch-public
kill-watch:
	pkill esbuild || true
	pkill cargo || true
	pkill make || true
install-server: client-build
	cargo +nightly install --force --path server
install-native:
	cargo +nightly install --force --path client-native-gui
	cargo +nightly install --force --path client-native-rift 
	cargo +nightly install --force --path client-native-export-track