Last active
August 29, 2015 13:57
-
-
Save monokrome/9500677 to your computer and use it in GitHub Desktop.
Simple GLP configuration example.
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
# Install glp in your project. | |
npm install -g glp | |
# Create a config file as explained by the other file in this gist. | |
# Run glp (not gulp) to build! | |
glp | |
# watch files for changes | |
glp watch | |
# run a nodejs webserver while watching for changes | |
glp server | |
# build with minification | |
glp release | |
# Don't like yaml? Use whatever you want! | |
# (uses https://github.com/LimpidTech/prefer) | |
glp -c glp.json # uses json5 | |
glp -c glp.xml | |
glp -c glp.ini | |
glp -c glp.coffee | |
# Don't like command-line arguments? Use an environemnt variable! | |
GLP_CONFIGURATION=glp.ini glp |
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
files: | |
scripts: | |
# Not concatenated, since it's a directory. | |
scripts/: 'app/**/*.coffee' | |
stylsheets: | |
# This will concatenate into styles.css | |
/styles: 'app/**/*.styl' | |
templates: | |
# Builds each file into the root directory. | |
/: | |
- 'app/**/*.jade' | |
- 'app/**/*.haml' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A more thorough description of the configuration format is here: https://gist.github.com/monokrome/9202343