You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
In some projects, the user might want to use custom templates files for resources, like .json, .txt or .yml files, without having to manually remove them from the "compile sources" build phase afterward.
Proposed solution
Adding an optional array to the liftoffrc file named additional_resources, used likeso :
additional_resources:
- txt
- json
- yml
This array could then be added to the defaults suffixes in the project_builder.rbresource_file? function.
Current state
Currently, resources files are managed using this function :
https://github.com/thoughtbot/liftoff/blob/master/lib/liftoff/project_builder.rb#L90-L92
Problem
In some projects, the user might want to use custom templates files for resources, like
.json,.txtor.ymlfiles, without having to manually remove them from the "compile sources" build phase afterward.Proposed solution
Adding an optional array to the
liftoffrcfile namedadditional_resources, used likeso :This array could then be added to the defaults suffixes in the
project_builder.rbresource_file?function.