Open sabrosimov opened 10 years ago
blocked until we can get the Calabash.app under Xamarin control.
wrong place for that comment.
this is can only be done by @krukow
@sabrosimov
I think this would be a great addition. Any chance you want to take a crack at changing the calabash-ios setup
command?
If you can do the ruby side, I will try to update the script.
Hello All, Plus one on this. Will this be added anytime soon ?
Hi Josha/Krukow,
Could you please help add this enhancement in any of the planned upcoming releases? This definitely would be an awesome feature to have. Thanks for your continuous support.
-Sree Ram
@jmoody that should be done from ruby side? or that issue already fixed? do you mean update in bin/calabash-ios-setup.rb for supporting additional parameters?
@ark-konopacki
The existing setup procedure needs a rewrite.
We have been experimenting with the xcodeproj gem from the CocoaPods group.
We are think about not creating a separate target, but instead creating a Calabash Xcode build configuration based off the Debug configuration.
We'll definitely have something in Calabash 2.0. For the 0.x branch, I am able to justify spending time on fixing this.
Pull-requests are, of course, welcome. There is no way to update the existing setup script; it is an opaque binary with a dark past that is best forgotten.
I found this approach of using the cococapod calabash the easiest
http://www.mokacoding.com/blog/calabash-ios-with-cocoapods-and-build-configurations/
something like the following to install calabash only on a condition
# set the environment variable WE_WANT_CALABASH to configure calabash for staging build
if !ENV['WE_WANT_CALABASH'].nil?
pod 'Calabash', :configurations => ['Release - Staging']
end
@jmoody Maybe we can close calabash-ios setup
related bugs since all CI automation/ framework setup can be done via CocoaPods?
We don't want to force or recommend users to adopt CocoaPods.
CocoaPods is a dependency and we don't want to recommend to users that they should or must introduce yet-another-dependency.
@jmoody thanks for explanations now i understand ;)
if you can specify requirements I can update ruby part in calabash-cucumber/bin/calabash-ios-setup.rb
now I see two issues:
Is it possible to enhance interface of this tool to pass the answer as command-line arguments?
We are think about not creating a separate target, but instead creating a Calabash > Xcode build configuration based off the Debug configuration.
Maybe it good time to write something completely new since:
There is no way to update the existing setup script; it is an opaque binary with a dark past that is best forgotten.
Just one small tip if you want to specify the target within the XCode project :
echo MyTarget | calabash-ios setup
Hi guys,
I need to use the calabash-ios setup tool from command line in our CI process. But unfortunately, this tool ask some questions. Is it possible to enhance interface of this tool to pass the answer as command-line arguments? For example:
Is it possible to specify custom name of new target (not default is Application-cal)?