Open akaralar opened 8 years ago
It would be feasible to provide a tool that creates a single Plist with all the keys from the mapping file. for additional Plists for additional environments, it would be better to copy the contents of the generated Plist. I don't think it would be robust to create a separate Plist based on schemes, because people often have different schemes for which they wouldn't want a Plist generated.
An alternative would be to provide the output files required as so:
configen --autogen-plists DEV,TEST,UAT,PROD --hints-path AppConfig.map
Hey,
Thanks for this nice tool, and the writeup in your blog is also detailed and wants me to use your configuration :) I was wondering if it would be possible to create the plist files as the mapping file already gives us the keys. Having to enter the keys once for each build config feels cumbersome, maybe a helper command could create the plist files with keys but empty values for valid configurations in the project, and the user only populates the plists with the appropriate values, without touching the keys? and then the main configen script would be run the prepare the
.swift
files.