Skip to content

Commit

Permalink
refactor: main to gocc
Browse files Browse the repository at this point in the history
  • Loading branch information
skifli committed Mar 16, 2023
1 parent 38c0d4f commit 626d168
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/compile.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
go build -o main.exe main.go
go build -o gocc.exe gocc.go

cls

main.exe main.go --config=config.json
gocc.exe gocc.go --config=config.json
4 changes: 2 additions & 2 deletions src/compile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
go build -o main main.go
go build -o gocc gocc.go

clear

./main main.go --config=config.json
./gocc gocc.go --config=config.json
2 changes: 1 addition & 1 deletion src/main.go → src/gocc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"golang.org/x/exp/slices"
)

var VERSION = "v1.3.1"
var VERSION = "v1.4"

var logger = golog.NewLogger([]*golog.Log{
golog.NewLog([]*os.File{os.Stderr}, golog.FormatterHuman),
Expand Down

0 comments on commit 626d168

Please sign in to comment.