Skip to content

secondarykey/skewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skewer is ...

It rebuilds the Go source. "embed" was implemented from Go1.16, and I wanted to reload HTTP server template.

install

go install github.com/secondarykey/skewer/_cmd/skewer

You should able to "skewer" command in "GOBIN" or "GOPATH/bin".

Command

Take an argument to build the Go source.

skewer main.go
skewer *.go
skewer .
skewer _cmd/main.go

Please read Help for details.(Not implemented...

More...

you can also loop the test.

skewer -m test .

Maybe it's a subcommand...

(e.g.
  skewer http _cmd/main.go 
  skewer test ./...

Operation Explanation

It usually looks for "go.mod" and monitors and builds all directories under it. If there is an updatei in the monitored directories,it will be rebuild and the process will be starter.

Build temporarily and create a binary file to make the build error easier to understand and process status easier to understand.

At the beginning of development, it was realized as a proxy server, but I realized that it was not necessary and deleted it.

Issue

I will write a memo for development.

Argument

-t Change the directory to monitor
-a Specifying arguments when stating a process.(and TestMode)
-d Monitoring lap time(default 5s)

About

Go Language proxy server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages