1
0
mirror of https://github.com/beego/bee.git synced 2024-12-23 06:40:48 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Ming Deng
22a4b07b4a Add bee generate routers command 2021-02-09 23:34:45 +08:00
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
Haojin Gui
f8e9f67ae6 Add empty line. 2017-10-20 23:32:13 -07:00
Gnanakeethan Balasubramaniam
ea63bf253e
UPDATE: creating ddl migration spec is now possible
SUMMARY: The DDL migration can now be generated by adding a `-ddl` and a
proper "alter" or "create" as argument value.

Migration generation had been modified to accommodate the complementary
code for ddl generation

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 20:30:06 +05:30
astaxie
05a49939e1 fix #413 #409 2017-04-19 20:35:17 +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
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