浏览代码

Add .ignore file for search tools (#9417)

* Add .ignore file for search tools

Tools like `rg` [1] and `ag` [2] support a `.ignore` file which defines
files that are ignored during a recursive search. This adds the file
which makes recursive file searches in the code base ignore files that
are generally not desirable to search in like bindata, vendored files
and compiled frontend assets.

[1] https://github.com/BurntSushi/ripgrep/
[2] https://github.com/ggreer/the_silver_searcher

* add leading slash

* remove files already in .gitignore
tags/v1.11.0-rc1
silverwind 4 年前
父节点
当前提交
8873a80276
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      .ignore

+ 5
- 0
.ignore 查看文件

@@ -0,0 +1,5 @@
/vendor
/public/vendor
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go

正在加载...
取消
保存