Merge pull request #7661 from federicobond/use-postflight-dsl-plist

Use postflight DSL for setting JVMOptions in plist
This commit is contained in:
Roland Walker
2014-11-28 07:45:55 -05:00
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'android-studio-bundle' do
app 'Android Studio.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/Android Studio.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'android-studio' do
app 'Android Studio.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/Android Studio.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'appcode' do
app 'AppCode.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/AppCode.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,7 +9,7 @@ cask :v1 => 'intellij-idea-ce' do
app 'IntelliJ IDEA 14 CE.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 14 CE.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
+1 -1
View File
@@ -9,7 +9,7 @@ cask :v1 => 'intellij-idea' do
app 'IntelliJ IDEA 14.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 14.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
+1 -1
View File
@@ -9,7 +9,7 @@ cask :v1 => 'phpstorm' do
app 'PhpStorm.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/PhpStorm.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'pycharm-ce' do
app 'PyCharm CE.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/PyCharm CE.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'pycharm' do
app 'PyCharm.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/PyCharm.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,7 +9,7 @@ cask :v1 => 'rubymine' do
app 'RubyMine.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/RubyMine.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'webstorm' do
app 'WebStorm.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/WebStorm.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'zeroxdbe-eap' do
app '0xDBE EAP.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/0xDBE\ EAP.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end