New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: build_include.txt #191
Comments
@SimonWpt what is the problem if you just put them in the project folder directly? |
@hlb There is no problem, it is just easier to navigate in tree. In most IDE (like Aptana) you have a treeview and see all files in the documentroot and all root directories (and collapsed directories and files). Everytime, I look on the treeview, I see a lot of files, which are created once and then will never be touched again. Here is an one-page example:
This is the version, where all static files are moved to the directory [.includes]:
Most IDE has treeview for navigating. You see the difference, in the first example I have to search the index.html.haml in a bulk of 14 files, in the second example there is only one file, the index.html.haml. In the second example I have moved the directories [documents], [downloads] and [fonts] to [.includes]. All these files are created once and then I can forget them. I hope, you understand the reason, why I would prefer an include directory. |
@SimonWpt We have strongly considered to add build hook, so you can execute some commands before or after "build project". It seems also work in your case. |
OK. Where can I find the doc about adding build hooks? |
@SimonWpt not done yet ;) |
ref: #174. close this one. |
I am often working on websites with a lot of pages AND static files in root dirctory. It would be nice to move these files to an include directory and copy them only when building. These static files are only necessary for the build but not for working with fire.app.
Some examples:
It would be great, if I could create a build_include.txt (similar to build_ignore.txt). We could add all files and directories, we wished to copy from the include directory to the root directory.
This feature makes it very easy to keep the overview. At the moment I do this task on some projects with grunt, but fire.app would be the better solution.
The text was updated successfully, but these errors were encountered: