Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 19th, 2012  |  syntax: None  |  size: 1.76 KB  |  hits: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ; General settings control basic behavior of the plugin
  2. ;
  3. ; * cacheConfig - set to true to cache the parsed configuration data
  4. ;   so it doesn't get parsed on each request.
  5. ;
  6. ; * alwaysEnableController - Set to true to always enable the
  7. ;   AssetsController.  Generally you will want to disable the controller
  8. ;   in production, as it could allow an attacker to request expensive
  9. ;   resources repeatedly.  However, if you need the controller available
  10. ;   in production.  You can enable this flag.
  11. ;
  12. [General]
  13. writeCache = true
  14. cacheConfig = false
  15. alwaysEnableController = false
  16.  
  17.  
  18. ; Define an extension type.
  19. ;
  20. ; _filters, _targets and other keys prefixed with this value
  21. ; are connected when the ini file is parsed.
  22. ;
  23. ; * cachePath - is where built files will be output
  24. ; * timestamp - Set to true to add a timestamp to build files.
  25. ; * paths - An array of paths where files used in builds can be found
  26. ;   Supports glob expressions.
  27. ; * filters - A list of filters to be applied to all build files
  28. ;   using this extension.
  29. ; * baseUrl - Set the base url this type of asset is served off of, good
  30. ;   for using with CDN's
  31. [js]
  32. ;baseUrl = http://cdn.example.com
  33. timestamp = true
  34. paths[] = WEBROOT/js/*
  35. cachePath = WEBROOT/cache_js
  36. filters[] = Sprockets
  37. filters[] = YuiJs
  38.  
  39. ; Each target should have a section defining the files
  40. ; everything after js_* is considered the build file.
  41. ; all files included in the build are relative to the parent
  42. ; paths key.
  43. ;
  44. ; targets can include their own filters.
  45. [js_libs.js]
  46. files[] = jquery.js
  47. ;files[] = mootools.js
  48. ;files[] = class.js
  49. filters[] = UglifyJs
  50.  
  51. ; Create the CSS extension
  52. [css]
  53. paths[] = WEBROOT/css/*
  54. cachePath = WEBROOT/cache_css
  55.  
  56. [css_all.css]
  57. files[] = general.css
  58. filters[] = CssMinFilter