forked from zenhack/tempest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (27 loc) · 704 Bytes
/
Makefile
File metadata and controls
28 lines (27 loc) · 704 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
all: build
build install dev test-app export-import:
@# Just shell out to make.go.
go run internal/make/make.go $@
update-deps:
# Update the versions of these in go.mod:
go get capnproto.org/go/capnp/v3
go get zenhack.net/go/util
go get zenhack.net/go/tea
go get zenhack.net/go/websocket-capnp
# and clean up:
go mod tidy
clean:
cd c && $(MAKE) clean
rm -rf _build
rm -f \
go/internal/server/embed/*.wasm \
c/config.h \
go/internal/config/config.go
find * -type f -name '*.capnp.go' -delete
find * -type f -name '*.cgr' -delete
find * -type d -empty -delete
check: all
./scripts/run-tests.sh
nuke: clean
rm -f config.json
.PHONY: all configure build run check clean nuke install