Skip to content
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

Add Application target to project #262

Open
mats-claassen opened this issue Dec 2, 2015 · 5 comments
Open

Add Application target to project #262

mats-claassen opened this issue Dec 2, 2015 · 5 comments

Comments

@mats-claassen
Copy link

Hi Is there a way to add an application target (executable)?
For example I want this second "qwe Staging" target
screenshot

Thanks in advance!

@jakecraige
Copy link
Contributor

Yes you can configure that via a liftoffrc. Specifically you'll use the app_target_templates key to specify a new target. See the default liftoffrc for an example.

@mats-claassen
Copy link
Author

Sorry but I could still not make it work.
If i put something like this

swift:
    - <%= project_name %>:
      - Extensions:
      - Protocols:
      ......
   - <%= project_name %>-Development:
      - Extensions:
      - Protocols:
      ......

Then it will just create two folders but not two targets.
And in addition to this, can I link this target to a custom scheme?

@gfontenot
Copy link
Member

Yeah, that doesn't actually work. As of right now, Liftoff only creates a single application target and there's no way to create more.

I don't think I understand your question about the schemes, but have you read the section about schemes in man liftoffrc?

@mats-claassen
Copy link
Author

Yes in fact I did read it. What I wanted was to set up a custom scheme that would run my second application target. If there is no way to create a second target then it does not matter.
Thank you anyway, great tool.

@grantjk
Copy link

grantjk commented Jan 12, 2016

Cool project - looks extremely helpful.

I agree here that having the ability to add targets would be super useful to allow users to setup multiple different test targets (unit / UI / snapshots, etc.). We like to keep these targets separate as our CI will run each target through a different suite of devices for certain reasons.

Related #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants