12 Commits

Author SHA1 Message Date
Luiz Coimbra Barbosa Silva
96af1f519e Add --allow-non-standard-behavior and --allow-image-type webp to actool
Adding the capability to pack WEBP images into compiled assets catalog.
Since this is not standard behavior, I'm adding it under `--allow-image-type webp`.
This way (`--allow-image-type`) also makes it easier to add future new extension types.
Since this is not a feature supported by Apple's Xcode.actool, I'm adding `--allow-non-standard-behavior` as well, that makes it explicit it's incompatible behavior.
2018-03-28 11:41:24 -07:00
Grant Paul
71940e8445 Partially update asset catalog compiler specification and resolver.
Asset catalog compilation now uses a custom variable to pass inputs
to the specification, and a custom grouping method to group inputs.

Does not pass sticker pack translations to asset catalog compiler,
as this seems to require parsing the asset catalog just to determine
which strings files should be used. Left as a future task.
2016-11-17 16:24:58 -08:00
Grant Paul
3df0c95355 Add a few missing asset catalog compiler driver options.
They are parsed but not yet used during compilation.
2016-10-24 10:51:03 -07:00
Kolin Krewinkel
f9c9cebacb Add option for specifying compiled asset file name.
Use ` --compile-output-filename` to specify.
2016-10-06 11:16:19 +08:00
Kolin Krewinkel
3e4a8106b2 Update asset compiler driver options to parse and ignore new flags. 2016-09-20 16:26:54 +07:00
Grant Paul
42c53c39ce Use optionals in parsing command line arguments. (#95)
Instead of checking if strings are empty, use optionals to store if
the arguments were passed at all. Additionally, add a few utility
methods to the option parser to simplify various tool option classes.
2016-07-27 17:38:07 -07:00
Marc Salem
7ebc1a4acd enable-on-demand-resources has YES/NO argument 2016-06-18 13:20:28 -07:00
Marc Salem
03db0a0e42 Support multiple targetDevices 2016-06-18 12:47:57 -07:00
Grant Paul
8358d84d97 Implement contents print subcommand in actool.
The contents printing supports most types of asset, but additional ones
can be supported more in the future. Output can be human-readable text or
as a property list, as specified by the output format.
2016-05-24 16:07:50 -07:00
Grant Paul
f00f186e1a Update license headers for asset catalog code. 2016-04-15 20:49:39 -07:00
Grant Paul
ff15ba75c2 Add basic structure for the available actions in acdriver.
The available actions are version, contents, and compile. Each has
a class with an implementation that implements that action.
2016-04-15 19:24:17 -07:00
Grant Paul
5dc1a8a676 Add basic structure for actool driver.
The new library acdriver contains the actool driver and tool. So far
it can simply parse the actool options but not act on any of them.
2016-04-15 19:24:17 -07:00