Comments (10)
any docs or examples on how to create additional folders and files that are bound to a custom scheme would be greatly helpful as that is what I'm working towards
from liftoff.
Hey, sorry if the current documentation is confusing. I think you might find more information in man liftoffrc
.
That being said, liftoff
doesn't create that directory for you. If you want to override the current templates you would create that directory (or a similarly named directory in the folder you're running liftoff
from) and then add your templates there.
I'm not sure that I follow your second question, but if you don't mind expanding on what you're trying to do a bit more I'll help as much as I can.
from liftoff.
from liftoff.
Yep, we should have enough documentation on that. See this section of the README, you'll want to create a custom template like we do in the default config. I highly recommend reading through man liftoffrc
, since that's where the bulk of the documentation currently lives. If you still need help after looking through there, let me know and I can try to fill in the gaps.
from liftoff.
got it @gfontenot. I'll give it another shot
from liftoff.
I was looking through your code and I see that your project_configuration.rb has test_target_templates and app_target_templates as properties which basically drives the config for setting up folder structures for app and unit test. Is there a way to pass an additional property like 'ui_test_target_templates' for example? I'm assuming I'd need something like that to set up UITest folder structure
also your default config hyperlink in your comment above points to the same URL as the README, was this intentional?
from liftoff.
also your default config hyperlink in your comment above points to the same URL as the README, was this intentional?
Oops, no, I meant this link: https://github.com/liftoffcli/liftoff/blob/master/defaults/liftoffrc
Is there a way to pass an additional property like 'ui_test_target_templates' for example? I'm assuming I'd need something like that to set up UITest folder structure
No I don't think we support that right now.
from liftoff.
I'm not the strongest Ruby guy but if I wanted to contribute to solve for this, how could I do that? I'd love to give it a shot
from liftoff.
I'm not sure that I have a strong opinion on how to add this as a feature, honestly. The simplest thing to do would probably be to add it alongside the other template types, but that also doesn't scale super well and would make the assumption that the user will use XCUITest for their "ui tests". I'm not sure how I feel about that. I'm super open to hearing how you think it should work as a user and going from there.
from liftoff.
yeah I gotta look into your code a bit deeper but I was thinking of creating a new template type property in the project_configuration.rb file and doing a similar thing like what you did for test_target_templates configuration.
I've noticed that UI and Unit tests in XCode kinda behave the same so I'm assuming the liftoff configuration for something like an additional 'ui_test_target_templates' config property would follow the same set up like what you've done for test_target_*
from liftoff.
Related Issues (20)
- Add Application target to project HOT 5
- dyld warnings when running liftoff HOT 8
- Liftoff fails to copy some files after 1.6 upgrade
- New project - Update to recommended settings
- Liftoff not compatible with Cocoapods v1.0.0 HOT 3
- add some compile option HOT 4
- copy from existed configuration or target/scheme
- copy from existed configuration or target/scheme HOT 1
- Allow custom suffixes for resources files HOT 3
- how to add files into project without adding them into app target or test target HOT 1
- Liftoff crashes on creating a dot file HOT 4
- Default Breakpoints HOT 4
- Customisation HOT 1
- Swift 3/Xcode 8 compatibility HOT 1
- Add App Capabilities
- Copy template file outside of project folder HOT 1
- Parsing error: `Data missing closing '>'`
- Remove Default Build Configurations HOT 1
- Dependencies (findup-sync) Security Vulnerabilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liftoff.