Commit Graph

9 Commits

Author SHA1 Message Date
Ming Deng 06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
qiantao 9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Franz Wilhelm von der Lippe 6689e25d6f Add support for apps outside of gopath with go modules, fixes #549 2018-10-06 13:35:26 +02:00
Codeb Fan cd82742af9 Support extra args to run application. 2018-06-26 18:07:49 +08:00
astaxie 1cc7abaac6 fix gosimple 2017-04-24 21:45:27 +08:00
Faissal Elamraoui 792cb3f311 Load configuration for all commands
This removes the filepath.Walk() when loading configuration,
as it can read a Beefile from another project in the $GOPATH.
Now config.LoadConfig() is called for all available commands.
2017-03-15 15:18:33 +01:00
Faissal Elamraoui 426237fefe Fixes configuration loading since last changes 2017-03-12 23:24:50 +00:00
Sergey Lanzman feea8877c0 go vet
go simple
golint
structcheck
staticcheck
unused
unconvert
2017-03-11 10:57:06 +02:00
Sergey Lanzman c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00