Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.412 kb
require "fileutils"
service = File.join(File.dirname(__FILE__), "build/Release/GistService.service")
desc "Install for this user"
task :install => :build do
sh "mkdir -p ~/Library/Services"
sh "cp -r #{service.inspect} ~/Library/Services"
end
desc "Install for all users"
task :install_all => :build do
FileUtils.cp_r(service, "/Library/Services/")
end
desc "Build"
task :build do
sh "xcodebuild"
end
Jump to Line
Something went wrong with that request. Please try again.