git-pre-commit:Rake 任务以确保您的 git pre-commit hook 在签入之前运行您的构建

时间:2021-06-12 01:18:54
【文件属性】:
文件名称:git-pre-commit:Rake 任务以确保您的 git pre-commit hook 在签入之前运行您的构建
文件大小:13KB
文件格式:ZIP
更新时间:2021-06-12 01:18:54
Ruby Git的预提交 是一个很好的工具,可以帮助确保我们的签入不会破坏构建。 然而,在 Git 中我们不需要所有这些东西。 使用 Git 预提交挂钩可以轻松地在签入前运行我们的测试。 此插件确保在开发人员的存储库中安装此类挂钩。 如果没有安装这样的钩子,将安装一个调用` rake precommit ` 安装 作为一个Rails插件 这个插件可以通过 config.gem 或 gem bundler 作为 gem 安装。 要求库为“git_precommit”。 要安装为非 gem 插件,请从 Rails 项目的根目录使用以下命令之一: script/plugin install git://github.com/tobytripp/git-pre-commit git clone git://github.com/tobytripp/git-pre-commit.git vendo
【文件预览】:
git-pre-commit-master
----project.gems(16B)
----git-hooks()
--------pre-commit(229B)
--------post-commit(652B)
----lib()
--------git_precommit.rb(93B)
--------git-precommit()
----Gemfile(37B)
----Guardfile(265B)
----README.rdoc(2KB)
----tasks()
--------cucumber.rake(2KB)
----.rvmrc(59B)
----Rakefile(373B)
----config()
--------cucumber.yml(402B)
----features()
--------draconian.feature(676B)
--------local-hook-path.feature(893B)
--------pre-commit.feature(678B)
--------submodule-hook-path.feature(1KB)
--------support()
----Gemfile.lock(1KB)
----.gitignore(42B)
----bin()
--------setpairs(1KB)
----git-precommit.gemspec(1KB)

网友评论