From 8eb99745a5d28998aead22a22dfa70ce5ac66cc3 Mon Sep 17 00:00:00 2001 From: Dima Marhitych Date: Thu, 5 Oct 2023 20:12:27 +0200 Subject: [PATCH] Update Readme and the makefile --- Makefile | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3632d90..eecb6b5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ EXAMPLE_BUILD_TOOL = wasmserve +VERSION = v0.0.3 .PHONY: setup example build_test test_backend test1 @@ -48,3 +49,12 @@ test1: @echo $(EXAMPLE_BUILD_TOOL) ./tests/test1/test1.go + +publish: + @echo + @echo " ----------------------------------------------------" + @echo "| Publishing $(NAME)... |" + @echo " ----------------------------------------------------" + @echo + + GOPROXY=proxy.golang.org go list -m github.com/dimkauzh/webzen@$(VERSION) diff --git a/README.md b/README.md index c01c2cf..c380da2 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Webzen doesnt need anything except Go version that is higher that 1.18. There is ### Getting the Go package Wenzen is an ordinary go package, so you can get it using this command: ```bash -go get https://github.com/dimkauzh/webzen@latest +go get github.com/dimkauzh/webzen@latest ``` ### How to Run the Example