-
-
Save chinnurtb/6192991 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Make each module and each site an Erlang (library) app. | |
| This means that each module should be structured like this: | |
| ├── dispatch | |
| ├── ebin | |
| ├── lib | |
| │ ├── css | |
| │ ├── images | |
| ├── src | |
| │ ├── actions | |
| │ ├── controllers | |
| │ ├── filters | |
| │ ├── scomps | |
| │ ├── services | |
| │ ├── support | |
| │ └── validators | |
| ├── templates | |
| │ ├── phone | |
| │ ├── tablet | |
| │ ├── tests | |
| │ └── text | |
| ├── tests | |
| └── translations | |
| └── template | |
| This way, modules and sites compile with the rebar {subdirs} feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment