1 2 //////////////////////////////////////////////////////////////////////////////////////////// 3 // Copyright (c) 2012 Christopher Nicholson-Sauls // 4 // // 5 // Permission is hereby granted, free of charge, to any person obtaining a copy of this // 6 // software and associated documentation files (the "Software"), to deal in the // 7 // Software without restriction, including without limitation the rights to use, copy, // 8 // modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, // 9 // and to permit persons to whom the Software is furnished to do so, subject to the // 10 // following conditions: // 11 // // 12 // The above copyright notice and this permission notice shall be included in all // 13 // copies or substantial portions of the Software. // 14 // // 15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // 16 // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A // 17 // PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // 18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF // 19 // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE // 20 // OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // 21 //////////////////////////////////////////////////////////////////////////////////////////// 22 23 /** 24 * 25 */ 26 module config; 27 28 /** 29 * Assets directory. 30 * Default is "./assets/". 31 */ 32 // enum assets = ; 33 34 /** 35 * Primary binding address. 36 * Default is "127.0.0.1". 37 */ 38 // enum address = ; 39 40 /** 41 * Custom inflections. 42 * Each entry should be a pair of elements in the order "singular","plural". For example: 43 * --- 44 * enum inflections = [ 45 * "cactus", "cacti", 46 * "child", "children", 47 * "formula", "formulae" 48 * ] 49 * --- 50 */ 51 // enum inflections = [ ]; 52 53 /** 54 * HTTP listener port. 55 * Default is 8080. 56 */ 57 // enum port = ; 58 59 /** 60 * Automatically routed resources. 61 * Each element should be the canonical (lowercase and plural) resource name. For example: 62 * --- 63 * enum resources = [ "users", "posts" ]; 64 * --- 65 */ 66 //enum resources = [ ]; 67 68 /** 69 * Stylesheets to be compiled by Sass. These should be located at "ASSETS/styles/NAME.scss". 70 * Default is [ "application" ]. 71 */ 72 // enum styles = [ ];