-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 883 Bytes
/
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
EXAMPLE_BUILD_TOOL = wasmserve
VERSION = null
.PHONY: setup example release
setup:
@echo
@echo " ----------------------------------------------------"
@echo "| Setting up... |"
@echo " ----------------------------------------------------"
@echo
go install github.com/hajimehoshi/wasmserve@latest
example:
@echo
@echo " ----------------------------------------------------"
@echo "| Running Example... |"
@echo " ----------------------------------------------------"
@echo
$(EXAMPLE_BUILD_TOOL) ./example/example.go
release:
@echo
@echo " ----------------------------------------------------"
@echo "| Publishing $(NAME)... |"
@echo " ----------------------------------------------------"
@echo
GOPROXY=proxy.golang.org go list -m github.com/dimkauzh/webzen@$(VERSION)