-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
executable file
·48 lines (37 loc) · 1.14 KB
/
Makefile
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
43
44
45
46
47
48
VERSION = none
MESSAGE = Release version $(VERSION)
.PHONY: release proxy-release ci_check
release:
git add .
git commit -m "$(MESSAGE)"
git tag $(VERSION)
git push origin $(VERSION)
make proxy-release
proxy-release:
GOPROXY=proxy.golang.org go list -m vuelto.me@$(VERSION)
ci_check:
go build -o bin/test/test test/test/test.go
go build -o bin/test/backend test/backend/test.go
go build -o bin/examples/basic-window examples/basic-window/main.go
go build -o bin/examples/rectangle examples/rectangle/main.go
go build -o bin/examples/images examples/images/main.go
go build -o bin/examples/two-windows examples/two-windows/main.go
test:
go run test/test/test.go
format:
go fmt ./pkg/
go fmt ./test/test/
go fmt ./test/backend/
go fmt ./internal/gl/webgl/
go fmt ./internal/gl/opengl/
go fmt ./internal/gl/
go fmt ./internal/windowing/web/
go fmt ./internal/windowing/x11/
go fmt ./internal/windowing/cocoa/
go fmt ./internal/windowing/win32/
go fmt ./internal/windowing/wayland/
go fmt ./internal/windowing/
go fmt ./examples/images/
go fmt ./examples/rectangle/
go fmt ./examples/two-windows/
go fmt ./examples/basic-window/