-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 911 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (31 loc) · 911 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
39
40
41
42
.PHONY: browser-smoke build dev fixture-db frontend-build frontend-typecheck own-db smoke test verify-production-binary
GO_ADDR ?= 127.0.0.1:8081
DB ?= .tala/tala.db
SMOKE_URL ?= http://$(GO_ADDR)
TALA_SMOKE_DB ?= $(OWN_DB)
OWN_DB_ADDR ?= 127.0.0.1:8081
OWN_DB ?= .tala/tala.db
FIXTURE_DB ?= /tmp/tala-fixture.db
FIXTURE_ADDR ?= 127.0.0.1:18082
dev:
go run ./cmd/tala -addr $(GO_ADDR) -db $(DB)
own-db:
go run ./cmd/tala -addr $(OWN_DB_ADDR) -db $(OWN_DB)
fixture-db:
scripts/create-fixture-db.sh $(FIXTURE_DB) $(FIXTURE_ADDR)
frontend-build:
bun run build
frontend-typecheck:
bun run typecheck
test:
go test ./...
bun run typecheck
build:
bun run build
go build ./cmd/tala
verify-production-binary:
scripts/verify-production-binary.sh
smoke:
TALA_SMOKE_DB=$(TALA_SMOKE_DB) scripts/smoke.sh $(SMOKE_URL)
browser-smoke:
TALA_SMOKE_DB=$(TALA_SMOKE_DB) scripts/browser-smoke.sh $(SMOKE_URL)