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

You can specify the path of Utilities. #32

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

SanggeonPark
Copy link
Contributor

If you want put model classes in several folders. There will be duplicated Utility folder for each folders.
New Option will help you to specify the path of utility folder.

ex :

python readJSON.py -p S2M -t iOS -i SessionModels.json -o ./SessionModels/ -u ./Utility/
python readJSON.py -p S2M -t iOS -i BasicModels.json -o ./BasicModels/ -u false

@netbe
Copy link
Contributor

netbe commented Aug 6, 2015

@SanggeonPark I am wondering if the refactor does solve this issue also as with templates you can define your folders:
https://github.com/sinnerschrader-mobile/metaJSON/tree/feature/refactor/metajson/templates/iOS

So you would use a different template folder for SessionModels and BasicModels.

Ex:
Templates for SessionModels:

  • APIParser
  • AbstractInterfaceFiles
  • Utilities
  • CLASSNAME.h.mustache
  • CLASSNAME.m.mustache

Templates for BasicModels:

  • APIParser
  • AbstractInterfaceFiles
  • CLASSNAME.h.mustache
  • CLASSNAME.m.mustache

@landscape-bot
Copy link

Code Health
Repository health increased by 0.21% when pulling 9d46521 on SanggeonPark:develop into 085bc93 on sinnerschrader-mobile:develop.

@landscape-bot
Copy link

Code Health
Repository health increased by 0.21% when pulling e5c3b36 on SanggeonPark:develop into 085bc93 on sinnerschrader-mobile:develop.

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

Successfully merging this pull request may close these issues.

3 participants