Permalink
Browse files

Fix for TISTUD-1016. We hide the KitchenSink iPad sample on non-OSX p…

…latforms.
  • Loading branch information...
1 parent 9d7841f commit b0c8cc206ed13c8c85dce711e26e4f8a1b413dc9 @ingo ingo committed Jan 12, 2012
Showing with 9 additions and 7 deletions.
  1. +9 −7 samples/project_samples.rb
View
16 samples/project_samples.rb
@@ -36,12 +36,14 @@
s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
end
-project_sample "Kitchen Sink iPad" do |s|
- s.id = "com.appcelerator.titanium.mobile.samples.kitchensink.ipad"
- s.category = "com.appcelerator.titanium.mobile.samples.category"
- s.location = "git://github.com/appcelerator/KitchenSinkiPad.git"
- s.description = "A sample Titanium Mobile project that demonstrates a variety of APIs available in Titanium Mobile (For iPad)"
- s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
- s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
+if Ruble.is_mac?
+ project_sample "Kitchen Sink iPad" do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.kitchensink.ipad"
+ s.category = "com.appcelerator.titanium.mobile.samples.category"
+ s.location = "git://github.com/appcelerator/KitchenSinkiPad.git"
+ s.description = "A sample Titanium Mobile project that demonstrates a variety of APIs available in Titanium Mobile (For iPad)"
+ s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
+ s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
+ end
end

0 comments on commit b0c8cc2

Please sign in to comment.