mardi 13 janvier 2015

[SA3.1] How do I get my icons/fonts/json files in the build?

Hi all,

In my app I make extensive use of icons/images, custom fonts and translations inside json files. The folder structur looks like this:



Code:



project folder
| - app
| - ...
| - resources
| - Assets (contains images and icons, sorted in subfolders)
| - Fonts (contains custom fonts)
| - locale (contains the json files with translations, which are even added as json resource inside Architect)

If I do a build for testing/production all these files are missing from the resource directory. In the app.json of my project I added this:

Code:



"resources": [
.... //architect added stuff, mostly CSS files
....
"resources/Assets",
"resources/Fonts",
"resource/locale" ]


How ever, the files are not copied to the builds resource dir. What do I do wrong? How do I get my Assets get copied to the build? Any ideas?

Thank you!






[SA3.1] How do I get my icons/fonts/json files in the build?

Aucun commentaire:

Enregistrer un commentaire