-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (24 loc) · 907 Bytes
/
Makefile
File metadata and controls
36 lines (24 loc) · 907 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
everything: all wasm
all: macondo_shell macondo_bot bot_shell analyze mlproducer analyzer_worker
.PHONY: wasm
build-MacondoLambdaFunction:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bootstrap cmd/lambda/main.go
cp ./bootstrap $(ARTIFACTS_DIR)/.
proto:
protoc --go_out=gen --go_opt=paths=source_relative ./api/proto/macondo/macondo.proto
analyze:
go build -trimpath -o bin/analyze cmd/analyze/main.go
macondo_shell:
go build -trimpath -o bin/shell cmd/shell/main.go
macondo_bot:
go build -trimpath -o bin/bot cmd/bot/main.go
bot_shell:
go build -trimpath -o bin/bot_shell cmd/bot_shell/main.go
mlproducer:
go build -trimpath -o bin/mlproducer cmd/mlproducer/*.go
analyzer_worker:
go build -trimpath -o bin/analyzer-worker cmd/analyzer-worker/main.go
# wasm:
# GOOS=js GOARCH=wasm go build -trimpath -o ../liwords/liwords-ui/public/wasm/macondo.wasm wasm/*.go
clean:
rm -f bin/*