Commit Graph

20 Commits

Author SHA1 Message Date
Joseph Cloutier
057a2a4f5e Unify PlatformTarget.watch().
The implementation was copy-pasted, so it makes more sense to have only a single copy. `HTML5Platform` added a comment about possible future changes, so I kept that. Future changes will still be possible by overriding the function.
2025-08-31 22:30:05 -04:00
Joseph Cloutier
6ed53a9b92 Handle appinfo.json as a template on Tizen.
The old code appeared to be trying to do this, but it didn't work. When it found appinfo.json, it would call `copyAsset()` with an extra `context` argument, which is what you do for templates. However, `copyAsset()` only processes templates when `type == TEMPLATE`, otherwise it ignores the extra argument and processes it as a normal asset.
2025-08-31 22:12:16 -04:00
Joseph Cloutier
31af41e69c Unify asset copying code, and standardize asset embedding.
Having eight separate implementations made it harder to maintain. While an asset embedding bug got fixed on desktop targets, it got overlooked on others. This lead to assets being included twice on those other targets: once embedded, and once normally. (#1898) Now, that behavior is controlled from one place, and the bug is fixed for eight targets at once.

This also standardizes the case of `asset.embed == true && asset.type == TEMPLATE`. Previously, some targets would prioritze `embed` over `type`, embedding the template into the app without even processing it as a template. Now, it will always prioritize `type`, processing templates as templates and never trying to embed them.

Three targets are left out since they have more complex asset embedding behavior. I haven't checked if the bug is present on any of those.
2025-08-31 22:07:10 -04:00
Cameron Taylor
03ea041e0e add -json flag to allow json types export 2025-01-10 15:09:55 -08:00
Joshua Granick
1c92c707cc Run Haxe formatter 2022-03-23 14:02:39 -07:00
Joshua Granick
362be074f4 Merge HXProject defaults and exclude architectures at end 2022-03-23 14:00:32 -07:00
Joshua Granick
1188b3aa42 Run formatter 2019-07-12 12:08:09 -07:00
Joshua Granick
44bf137f9b Improve 'lime display' when templates have not been processed 2019-02-26 14:01:45 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
ccf8c48923 Remove forced -Ddisplay on 'lime display' output 2018-08-14 09:08:50 -07:00
Joshua Granick
430820cdb4 Name lime.tools.Project back to HXProject 2018-08-06 11:03:42 -07:00
Joshua Granick
bd9abc4c2a Update for HXP API change 2018-08-04 18:09:44 -07:00
Joshua Granick
4ec83c3638 Add lime.tools.* and keep Project-based tool code 2018-08-03 16:38:50 -07:00
Joshua Granick
6d9f3c4bd8 Fixes for dev HXP 2018-08-02 21:25:55 -07:00
Joshua Granick
534c6cd7ce Eval, HXP, asset library fixes 2018-07-25 20:27:05 -07:00
Joshua Granick
ecd7876c4b Add external platform code for use with HXP 2018-06-21 16:33:33 -07:00
Joshua Granick
ef86c425b1 Migrating components of the Lime tools into the public Lime namespace 2015-02-11 12:02:28 -08:00
Joshua Granick
287b94e6dd Use a standardized 'targetDirectory' value in the target handlers, and pass this onto the library processors for use with caching 2014-12-25 21:20:32 -08:00
Joshua Granick
b46c781b4c Initial improvements to 'rebuild' command and '-rebuild' flag, walking through actual project dependencies 2014-11-19 14:42:34 -08:00
Joshua Granick
540aa48c39 Merge Aether tools 2014-09-30 17:41:57 -07:00