-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (27 loc) · 669 Bytes
/
Makefile
File metadata and controls
38 lines (27 loc) · 669 Bytes
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
.PHONY: dev build deploy install lint lint-server fmt build-ship run-ship
build-ship:
./scripts/build-ship.sh
# Run the ship game locally. Builds WASM, then starts Rust server. Open in browser:
# http://localhost:8080/
run-ship: build-ship
cd server && cargo run
install:
cd server && cargo build
lint: lint-server
lint-server:
cd server && cargo fmt --check
cd server && cargo clippy -- -D warnings
fmt:
cd server && cargo fmt
dev-server:
cd server && cargo run
build:
./scripts/build-ship.sh
cd server && cargo build --release
deploy:
./build.sh
fly deploy
fly-db-connect:
fly mpg connect $(PG_CLUSTER_ID)
fly-logs:
fly logs --app timehelm