-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder structure #16
Comments
I am too looking for the same especially in this tool itself. One place for everything. |
You can add arbitrary ruby code to .crafter steps, so you could potentialy create directories like this: FileUtils.mkdir_p '/ViewControllers'
FileUtils.mkdir_p '/Models' |
Didn't work? Execution was successful set_build_settings({ bash-3.2# crafter |
make sure you add build settings you pasted are missing as for provisioning profile you could: UUID |
Still not able to create folder. Also that build settings i edited here so missed ' :) |
Any help on folder creation still not able to create folders. |
Below is my sample crafter.rb file. Please let me know if PROVISIONING_PROFILE is correctly added. Also i am not able to create folders. require 'fileutils' load "#{Crafter::ROOT}/config/default_scripts.rb" All your configuration should happen inside configure blockCrafter.configure do This are projects wide instructionsadd_platform({:platform => :ios, :deployment => 7.0}) set of options, warnings, static analyser and anything else normal xcode treats as build optionsset_options %w(
) set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ FileUtils.mkdir_p '/ViewController' target specific options, :default is just a name for you, feel free to call it whatever you like#with :default do
#end more targets setup#with :tests do add_option :kiwi do
#end |
Thanks for reply. |
Hi,
What am i missing here? #!/usr/bin/env ruby load "#{Crafter::ROOT}/config/default_scripts.rb" All your configuration should happen inside configure blockCrafter.configure do This are projects wide instructionsadd_platform({:platform => :ios, :deployment => 7.0}) set of options, warnings, static analyser and anything else normal xcode treats as build optionsset_options %w( set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ set_build_settings({ |
Is there a way to define an initial folder structure (ViewControllers, Views, Cells etc.) for the Xcode-project?
Thank you for this great tool!
The text was updated successfully, but these errors were encountered: