Sha256: aa9a8a1780a41d4e97599aa25fc0b005b9028c47caa01c36c96221f647ebd269
Contents?: true
Size: 731 Bytes
Versions: 19
Compression:
Stored size: 731 Bytes
Contents
namespace :vendor do namespace :shopify do directory Vendor::DIR desc "Downloads shopify repository" task build: [Vendor::REPO, Vendor::TEST] desc "Re-download shopify repository" task rebuild: [:flush, Vendor::BUILD] desc "Remove shopify repository" task :flush do rm_rf Vendor::REPO end desc "Test validity of repo" task test: Vendor::REPO do cd Vendor::REPO do sh "git rev-list --count HEAD" sh "git status" end say "Finished testing vendor" end file Vendor::REPO => Vendor::DIR do sh "git clone", Vendor::GITHUB, Vendor::REPO cd Vendor::REPO do sh "git reset --hard", Vendor::START end end end end
Version data entries
19 entries across 19 versions & 1 rubygems