This is a django application to compile SASS, SCSS and CoffeeScript files from the static directory into CSS and JavaScript files
Project description
sassy_coffee
============
This is a django application to compile SASS, SCSS and CoffeeScript files from the static directory into CSS and JavaScript files. The resulting CSS's and JS's are already minified/compressed.
This project is a very rough version of what is wanted. Feel free to suggest and colaborate with improvements to make it better. The only restriction is that the compilers being used cannot be external to the plugin. Must be entirely self contained. That is why it doesn't use popular plugins such as django-compass or django-compress and doesn't rely on executables such as Ruby's SASS and SCSS gem.
Looking forward to include support for LESS and Stylus, among others.
Quick start
-----------
Install using pip or easy_install
$ pip install django-sassy-coffee
$ easy_install django-sassy-coffee
Add "sassy_coffee" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
...
'sassy_coffee',
)
Add the following options to the settings.py file to configure:
DJANGO_SASSY_COFFEE_FORMATS = [
# Add the formats you wish to compile
# Use 'sass' for SASS files, 'scss' for SCSS files, and 'coffee' for CoffeeScript files
]
DJANGO_SASSY_COFFEE_EXCLUSIONS = [
# Include the names of the files you want to be skipped by the compiler
# The name must include format (for example, 'base.sass' or 'index.coffee')
]
Usage
-----------
Just add your SASS and CoffeeScript files inside your static folder. Recommended to locate them inside sass and coffee subfolders, but not required.
============
This is a django application to compile SASS, SCSS and CoffeeScript files from the static directory into CSS and JavaScript files. The resulting CSS's and JS's are already minified/compressed.
This project is a very rough version of what is wanted. Feel free to suggest and colaborate with improvements to make it better. The only restriction is that the compilers being used cannot be external to the plugin. Must be entirely self contained. That is why it doesn't use popular plugins such as django-compass or django-compress and doesn't rely on executables such as Ruby's SASS and SCSS gem.
Looking forward to include support for LESS and Stylus, among others.
Quick start
-----------
Install using pip or easy_install
$ pip install django-sassy-coffee
$ easy_install django-sassy-coffee
Add "sassy_coffee" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
...
'sassy_coffee',
)
Add the following options to the settings.py file to configure:
DJANGO_SASSY_COFFEE_FORMATS = [
# Add the formats you wish to compile
# Use 'sass' for SASS files, 'scss' for SCSS files, and 'coffee' for CoffeeScript files
]
DJANGO_SASSY_COFFEE_EXCLUSIONS = [
# Include the names of the files you want to be skipped by the compiler
# The name must include format (for example, 'base.sass' or 'index.coffee')
]
Usage
-----------
Just add your SASS and CoffeeScript files inside your static folder. Recommended to locate them inside sass and coffee subfolders, but not required.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-sassy-coffee-0.3.tar.gz
.
File metadata
- Download URL: django-sassy-coffee-0.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df729270eb3a483b6ada75508bd6615b9ca0d234e985b6e7f3107e1861e269f6 |
|
MD5 | e2c89829b74ac78173d8e13d99de4364 |
|
BLAKE2b-256 | d72b3029f7708f8af7da8377ebaf83caf7b57ea07853fd4fdda3ff2bcbd100a3 |
File details
Details for the file django-sassy-coffee-0.3.macosx-10.10-x86_64.exe
.
File metadata
- Download URL: django-sassy-coffee-0.3.macosx-10.10-x86_64.exe
- Upload date:
- Size: 70.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fcaedd6700ed24665006accba967442ae2e887cec55239ddb5cc75adb5e6fc |
|
MD5 | 08f3a3ef73534ab89298df3408c77b44 |
|
BLAKE2b-256 | f6cc05cbcf6435bda3e29bf6c7033275df02459c061c28f5a54a82efa14f7215 |