5 Star 45 Fork 3

Gitee 极速下载/pgsync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/ankane/pgsync
克隆/下载
Rakefile 614 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andrew Kane 提交于 2024-04-04 00:42 +08:00 . Improved Docker task [skip ci]
require "bundler/gem_tasks"
require "rake/testtask"
task default: :test
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
end
namespace :docker do
task :build do
require_relative "lib/pgsync/version"
system "docker build --pull --no-cache -t ankane/pgsync:latest -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
end
task :release do
require_relative "lib/pgsync/version"
system "docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 -t ankane/pgsync:latest -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
end
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/pgsync.git
git@gitee.com:mirrors/pgsync.git
mirrors
pgsync
pgsync
master

搜索帮助