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
Waleed Gadelkareem
ad695cd8c6
Merge branch 'develop' of github.com:beego/bee into develop
...
# Conflicts:
# cmd/commands/dlv/dlv_amd64.go
# go.mod
# go.sum
2020-06-20 11:58:52 +02:00
askuy
8ebb7977f9
bee update version
2020-06-20 12:26:28 +08:00
yitea
f7419c24fc
update delve version
2020-06-20 11:13:58 +08:00
Waleed Gadelkareem
f5cc7abe8d
fix: Fix github.com/go-delve/delve upgrade error
2020-06-19 20:02:57 +02:00
Waleed Gadelkareem
b1dbdd023c
fix: Fix github.com/go-delve/delve import error and add go mod
2020-06-19 17:15:22 +02:00
Faissal Elamraoui
6a86284cec
Merge pull request #586 from cjereme/fix/infosec-output-security
...
Fixes #536
2019-04-11 07:34:49 +02:00
CodeLingoBot
4562f47f4d
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingoBot <bot@codelingo.io>
2019-03-21 16:17:56 +13:00
cjereme
0f9b9ea345
Update loggging information on bee migrate
2019-03-07 22:14:52 -08:00
Faissal Elamraoui
de82e68f73
Merge pull request #544 from dotSlashLu/dev
...
Introduce new "sqlconn" attribute into app.conf
2019-01-24 22:42:36 +01:00
Faissal Elamraoui
231e90d274
Kill the server process gracefully on Windows
...
See discussion in pull request #569
2019-01-23 10:21:40 +01:00
Faissal Elamraoui
4b7edb7235
Merge pull request #559 from s00500/develop
...
Adds "-dir" option to migrate command to set migrations directory
2019-01-16 07:47:03 +01:00
c5099ba2a0
Update migrate description for dir option
2019-01-15 18:38:10 +01:00
Faissal Elamraoui
d06f56566c
Merge pull request #563 from luhuisicnu/develop
...
Use quoted strings in bee help api
2019-01-10 08:47:27 +01:00
Faissal Elamraoui
12019e22af
Merge pull request #569 from sangheee/develop
...
Kill the server process gracefully
2019-01-10 08:30:18 +01:00
Tavee Khunbida
df31f04b26
Fix accidently removed time.Sleep
2019-01-08 22:21:19 +07:00
Tavee Khunbida
d24c05d83e
Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024)
2019-01-08 01:03:58 +07:00
Tavee Khunbida
79d6746aa2
Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024)
2019-01-08 01:02:14 +07:00
Tavee Khunbida
19be52dc8c
Fix panic on running tests for newly generated project
2019-01-08 00:34:51 +07:00
sanghee
87a287cac2
Remove comments and add error handling
2019-01-04 23:28:36 +09:00
sanghee
8252ea9f88
When restarting, terminate process gracefully
2019-01-04 23:04:38 +09:00
Hank.Lu
babd8d04b4
Update hprose.go
...
db连接信息使用双引号包含
2018-12-06 15:01:38 +08:00
Hank.Lu
5ba90258a4
Update apiapp.go
...
db连接信息使用双引号包含
2018-12-06 15:00:12 +08:00
10a2e56df0
Fixing absolute path for dir option of migration
2018-11-12 13:58:15 +01:00
3d977edbb4
Adding dir parameter to migrate command
2018-11-12 13:10:43 +01: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
dotSlashLu
cb2fae3e68
cmd/api: put sqlconn to app.conf
2018-09-13 16:09:45 +08:00
dotSlashLu
393e315ba5
cmd/new: unify variable naming convention with cmd/api
...
camelCase should be the standard anyway
2018-09-13 14:51:09 +08:00
astaxie
5ed819a025
version 1.10.0
2018-07-22 12:06:22 +08:00
astaxie
1fb0bebe30
Merge pull request #516 from qida/master
...
Update ignoredFilesRegExps
2018-07-21 22:59:18 +08:00
astaxie
25a2684240
Merge pull request #522 from lixiangzhong/master
...
Update watch.go
2018-07-21 22:58:48 +08:00
astaxie
ecd8896cf3
Merge pull request #530 from Medicean/master
...
fix bee.json & Beefile watch_ext doesn't work
2018-07-21 22:28:38 +08:00
astaxie
a386880832
Merge pull request #537 from wilhelmguo/master
...
Support extra args to run application.
2018-07-21 22:27:53 +08:00
Codeb Fan
cd82742af9
Support extra args to run application.
2018-06-26 18:07:49 +08:00
Medicean
25063a62c4
fix bee.json & Beefile watch_ext doesn't work
2018-06-11 18:01:35 +08:00
qida
c1896dd4cf
Update ignoredFilesRegExps
...
解决了在执行 `bee run -gendoc=true` 时,更新`commentsRouter_controllers.go`文件导致多次触发"build"的bug。
2018-03-27 15:08:24 +08:00
lixz
5ba8b15e3a
Update watch.go
...
在window编译linux后,bee run 执行的appname为linux的可执行文件
2017-12-29 17:09:02 +08:00
astaxie
4ab8b8e30e
bee 1.9.1
2017-11-27 15:51:51 +08:00
Haojin Gui
f8e9f67ae6
Add empty line.
2017-10-20 23:32:13 -07:00
TankTheFrank
c34cb05355
after build the browser is refreshed
2017-10-19 14:23:08 +03:00
Adrian Ancona Novelo
52e3087bb4
Only import the correct driver when doing a migration. Fixes #447
2017-09-25 10:48:08 +08:00
asta xie
ceefd74c9b
v1.9.1
2017-09-12 21:23:20 +08:00
astaxie
b65934a764
v1.9.0
2017-07-19 00:28:53 +08:00
astaxie
3523212500
bee add subcommand server
2017-07-19 00:28:12 +08: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
0d0e583346
v1.8.4
2017-05-18 22:58:13 +08:00
astaxie
e1f3353511
add ineffassign check
2017-04-28 22:53:38 +08:00
astaxie
1cc7abaac6
fix gosimple
2017-04-24 21:45:27 +08:00
astaxie
963e1c9d05
bee 1.8.3
2017-04-24 21:11:32 +08:00
astaxie
6afbafa250
Check Gopath in one place
2017-04-24 20:51:56 +08:00
astaxie
c5bc543c13
update to v1.8.2
2017-04-19 23:52:32 +08:00
astaxie
3b316ecd81
update swagger to v3
2017-04-19 20:52:36 +08:00
astaxie
05a49939e1
fix #413 #409
2017-04-19 20:35:17 +08:00
Faissal Elamraoui
d9306e9fcf
Fixes #406
...
Adds support for darwin/amd64 platforms but requires cgo
for cross compilation.
2017-04-07 15:56:47 +02:00
Faissal Elamraoui
1e478bb32e
Resolves #393
...
When new changes are introduced, re-build the debug binary and restart
the Delve Debugger client. It also adds a verbose mode for dlv command
which notifies the user if enabled.
2017-04-02 23:37:02 +02:00
Faissal Elamraoui
f80384a9f5
Move getFileModTime() to utils package
2017-04-02 23:36:17 +02:00
Faissal Elamraoui
5600cb1c36
Fixes #389
...
This makes sure dlv is used for amd64 architecture. The current release
has a few problems with darwin architecture hence the conditional build
tag.
2017-03-26 16:57:19 +02:00
Faissal Elamraoui
db5616465b
Bump the version to 1.8.1
2017-03-23 14:30:03 +01:00
Boris Borshevsky
48c931d635
add arguments support to rs functionality ( #386 )
2017-03-23 11:15:53 +01:00
Faissal Elamraoui
8c0742c140
Merge pull request #384 from amrfaissal/dlv-support
...
Add support for Delve debugger
2017-03-22 17:01:34 +01:00
Faissal Elamraoui
72f144baad
Refactor code for dlv command
2017-03-22 11:47:39 +01:00
Faissal Elamraoui
427541fcd9
Start both Delve's RPC server and terminal (as client)
2017-03-21 15:47:57 +01:00
scrpgil
32e7b144f9
Fix mistake of execution directory by dockerBuldTemplate
2017-03-20 22:57:09 +09:00
Faissal Elamraoui
f9939bc286
Add support for Delve
...
This adds support for debugging tool Delve. The command dlv starts a
debugging REPL that allows the user to debug his application using Delve
tool. Resolves #365 .
2017-03-19 23:48:58 +01:00
scrpgil
8d646b4be1
fix docker build error by dockerBuildTemplate
2017-03-19 22:01:19 +09:00
Faissal Elamraoui
77a36964e5
Adds Windows support for command execution
2017-03-18 20:10:43 +01:00
Faissal Elamraoui
e543958fe3
Improves rs command using Go templates
2017-03-18 20:04:08 +01:00
Sergey Lanzman
01703caefa
delete scripts
...
add rs
2017-03-17 17:10:56 +02:00
astaxie
dd3f690bf7
cleanup
2017-03-17 13:33:15 +08:00
Faissal Elamraoui
609ed8fcd5
Merge branch 'develop' into fix-load-config
2017-03-16 21:35:44 +00:00
astaxie
fd4772fe82
Merge pull request #373 from sergeylanzman/add-scripts-options
...
add scripts option(custom commands)
2017-03-16 23:27:10 +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
d1330dfc0b
add scripts option(custom commands)
...
example to use:
1. Go test with custom params or other test framework like ginkgo
2. Fronted tools like grunt
3. Other custom commands
2017-03-11 12:46:39 +02:00
Sergey Lanzman
feea8877c0
go vet
...
go simple
golint
structcheck
staticcheck
unused
unconvert
2017-03-11 10:57:06 +02:00
astaxie
3d5b13d84e
Merge pull request #370 from sergeylanzman/make-log-for-beego-developer
...
Make logs for beego developer, not for bee developer
2017-03-11 15:36:37 +08:00
Sergey Lanzman
abf2b4a4cb
1. Make logs for beego developer not for bee developer
...
2. Fix debug mode
2017-03-10 20:32:22 +02:00
Sergey Lanzman
dacee6ba16
add notify on fails build
2017-03-10 20:04:49 +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