public
Description: WebKit plug-in to prevent automatic loading of Adobe Flash content
Homepage: http://rentzsch.github.com/clicktoflash/
Clone URL: git://github.com/rentzsch/clicktoflash.git
clicktoflash / Rakefile
100644 16 lines (13 sloc) 0.606 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
desc "Restart Safari"
task :restart do
  system("osascript -e 'tell application \"Safari\"' -e 'quit' -e 'end tell' && osascript -e 'tell application \"Safari\"' -e 'activate' -e 'end tell'")
end
 
desc "Build the Release configuration of the plugin and install for the current user."
task :release do
  system('xcodebuild -configuration Release -target "Install plugin for user"')
end
 
desc "Build the Debug configuration of the plugin and install for the current user."
task :debug do
  system('xcodebuild -configuration Debug -target "Install plugin for user"')
end
 
task :default => [:release, :restart]