Last active
August 29, 2015 14:21
-
-
Save astucieuxzephyr/6f61ec2a77837c0bf8a3 to your computer and use it in GitHub Desktop.
Brunch minimal configuration file for OctoberCMS (with PHP server)
This file contains 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
# /brunch-config.coffee : Brunch Configuration file for OCTOBER CMS | |
# See http://brunch.io/#documentation for docs. | |
# Do not forget to create the env var DEBUG | |
module.exports = config: | |
paths: | |
# Watched Directories (dossiers de votre application surveillés par Brunch) | |
watched: [ | |
'themes/tanguy-vanilla/assets' | |
] | |
# Dossier DESTINATION des fichiers compilés par Brunch | |
# DESTINATION Directory : Leave it empty because the root is the OctoberCMS directory | |
public: '' | |
# Optional directory if you want to see the results of the brunch (for debugging purpose) | |
# public: 'themes/tanguy-vanilla/assets/brunch_output' | |
conventions: | |
# dossier(s) statique(s) recopiés tels quels dans le dossier public | |
assets:[ | |
] | |
ignored:[ | |
/fonts/ | |
/images/ | |
/javascript/ | |
/vendor/ | |
] | |
# Action to do on files (Configuration des actions à effectuer sur les fichiers) | |
files: | |
stylesheets: | |
defaultExtension: 'less' | |
# OUTPUT (in the public directory) | |
joinTo: | |
# OUTPUT theme.css file << [regExp that matches input path] | |
'themes/tanguy-vanilla/assets/css/theme.css': /theme.less/ | |
# INPUTS (in the watched directory) | |
order: | |
before: [ | |
] | |
# Dependencies Configurations (Se reporter à la doc de chaque plugin) | |
# Brunch plugins are installed in the node_modules directory | |
plugins: | |
on:[ | |
'less-brunch' | |
] | |
off: [ | |
'javascript-brunch' | |
] | |
# if you want to add the less comments in the output file | |
# less: | |
# dumpLineNumbers: 'comments' | |
# Optional SERVER PHP on port 3333 !! (for use with command brunch watch -server ) | |
server: | |
command: "php -S 127.0.0.1:3333" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment