【文件属性】:
文件名称:capistrano-phpcachetool
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-24 09:42:26
Ruby
Capistrano::Phpcachetool
Capistrano 3.x 的缓存工具支持
见: :
安装
将此行添加到应用程序的 Gemfile 中:
gem 'capistrano-phpcachetool'
然后执行
$ bundle
或者自己安装:
$ gem install capistrano-phpcachetool
用法
需要 Capfile 中的模块:
require 'capistrano/phpcachetool'
cachetool:reset任务将在 deploy:symlink:release 之后运行,作为 Capistrano 默认部署的一部分。
配置
set :cachetool_reset_flags , '--fcgi'
set :cachetool_roles , :all
set :cachetool_lib , :a
【文件预览】:
capistrano-phpcachetool-master
----capistrano-phpcachetool.gemspec(931B)
----LICENSE.txt(1KB)
----lib()
--------capistrano()
----Gemfile(121B)
----spec()
--------spec_helper.rb(4KB)
----Rakefile(95B)
----README.md(1KB)
----.rspec(30B)
----.gitignore(124B)