diff options
| author | Shulhan <ms@kilabit.info> | 2021-10-18 00:05:13 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-10-18 00:05:13 +0700 |
| commit | 95fcd7309283daecc75abd9de57428353ee940bc (patch) | |
| tree | 822f9374aa474be7d4ccceec1881c324cf26cb05 | |
| parent | cf6100a626ea17a808a1bc96471c759b27c7c03b (diff) | |
| download | gorankusu-95fcd7309283daecc75abd9de57428353ee940bc.tar.xz | |
all: rename internal/cmd/trunks-example to internal/cmd/trunks
The internal/cmd/trunks-example is not run and provide an example only
now, its include the workers to build, recompile, re-embeded files.
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | example/example.go | 4 | ||||
| -rw-r--r-- | internal/cmd/trunks/main.go (renamed from internal/cmd/trunks-example/main.go) | 0 |
4 files changed, 8 insertions, 6 deletions
@@ -2,11 +2,11 @@ ## Use of this source code is governed by a BSD-style ## license that can be found in the LICENSE file. -.PHONY: all run embed tsc +.PHONY: all dev all: - go run ./internal/cmd/trunks-example build + go run ./internal/cmd/trunks build go test -v -race ./... -run: - go run ./internal/cmd/trunks-example +dev: + go run ./internal/cmd/trunks @@ -14,7 +14,7 @@ See the on how to programmatically use and create service using this module, or, * clone this repository, - * execute `make run`, and + * execute `make dev`, and * open http://127.0.0.1:8217. diff --git a/example/example.go b/example/example.go index 56f7d7c..32de036 100644 --- a/example/example.go +++ b/example/example.go @@ -4,7 +4,9 @@ // // To run the example, execute // -// $ go run ./internal/cmd/trunks-example +// $ go run ./internal/cmd/trunks +// +// It will run a web user interface at http://127.0.0.1:8217 . // package example diff --git a/internal/cmd/trunks-example/main.go b/internal/cmd/trunks/main.go index 1746209..1746209 100644 --- a/internal/cmd/trunks-example/main.go +++ b/internal/cmd/trunks/main.go |
