forked from rentzsch/clicktoflash
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/rentzsch/clicktoflash
- Loading branch information
Showing
5 changed files
with
14 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,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 :default do | ||
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] |