Skip to content

Commit

Permalink
change output mirc in pkg mirc
Browse files Browse the repository at this point in the history
  • Loading branch information
alimy committed Mar 4, 2020
1 parent 9c9b3fa commit 8cb3170
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion mirc/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/mir
/mirc
2 changes: 1 addition & 1 deletion mirc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LDFLAGS += -X "github.com/alimy/mir/mirc/v2/version.GitHash=$(shell git rev-pars

.PHONY: build
build: fmt
go build -ldflags '$(LDFLAGS)' -o mir main.go
go build -ldflags '$(LDFLAGS)' -o mirc main.go

.PHONY: generate
generate:
Expand Down
3 changes: 2 additions & 1 deletion mirc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Mir's help toolkit

### Usage
```bash
% mir new -d example
% go get github.com/alimy/mir/mirc/v2@latest
% mirc new -d example
% tree example
example
├── Makefile
Expand Down
16 changes: 8 additions & 8 deletions mirc/cmd/templates_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mirc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func main() {
// setup root cli command of application
cmd.Setup(
"mir", // command name
"mirc", // command name
"mir help toolkit", // command short describe
"mir help tookit", // command long describe
)
Expand Down
7 changes: 4 additions & 3 deletions mirc/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ var (

// MircVer version of Mirc
var MircVer = semver.Version{
Major: 0,
Minor: 1,
Patch: 0,
Major: 2,
Minor: 0,
Patch: 0,
PreRelease: "alpha.3",
}

0 comments on commit 8cb3170

Please sign in to comment.