A development tool for Go programming language
This repository has been archived on 2019-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2014-06-26 14:54:24 +08:00
debugger init 2014-05-21 17:11:00 +08:00
.gitignore log use seperated package 2014-05-25 23:16:18 +08:00
README.md improve readme 2014-06-26 13:13:39 +08:00
web.go init 2014-05-21 17:11:00 +08:00
xrun.go bug fixed 2014-06-26 14:54:24 +08:00

Xrun is a development tool for Go programming language.

===

Features

  • Auto rebuild and run the program when go files or other special files changed.

Installation

If you have got installed,

got go-xweb/xrun

or

go get github.com/go-xweb/xrun

How to use

cd <project dir>
xrun

or

cd <project dir>
xrun main.go

Add special files need to be monitered

Defaultly, xrun will moniter all the .go files. If you want to moniter other files, you can add a config file in the project root folder named xrun.json. The content just like below:

{
	"Mode":1,
	"ExcludeDirs": {
		".git":true,
		".svn":true
	},
	"ExcludeFiles": {
	},
	"IncludeFiles": {
	},
	"IncludeDirs": {
	}
}

Above is the default config. The Mode is the log level, default is Linfo:

Ldebug = iota
Linfo
Lwarn
Lerror
Lpanic
Lfatal
Lnone