Sha256: 34dc90a78c89adf8b53df843f8081521e963a6ffbd8d1ed3ccd5eb739c809fd7
Contents?: true
Size: 815 Bytes
Versions: 6
Compression:
Stored size: 815 Bytes
Contents
require "rake/clean" require "tmpdir" require "pathname" repo_path = Pathname.new(Dir.mktmpdir) CLEAN.include(repo_path) namespace :execute do task local: [repo_path, :install] do chdir(repo_path) do sh "rfix local --main-branch master" end end task branch: [repo_path, :install] do chdir(repo_path) do sh "rfix branch master" end end task origin: [repo_path, :install] do chdir(repo_path) do sh "rfix origin --main-branch master" end end task lint: [repo_path, :install] do chdir(repo_path) do sh "rfix lint --main-branch master" end end file repo_path => :rebuild do sh "git clone spec/fixtures/complex.bundle #{repo_path} --branch master" sh "git --work-tree=#{repo_path} branch --set-upstream-to origin/master" end end
Version data entries
6 entries across 6 versions & 1 rubygems