Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Edited README to show how to set directories for Espresso 2

  • Loading branch information...
commit 026a1536c3f99597fe25b6f8cbe322ea49725a76 1 parent b003fed
Joshua Hawxwell authored
Showing with 27 additions and 3 deletions.
  1. +27 −3 readme.markdown
View
30 readme.markdown
@@ -8,8 +8,32 @@ To install the sugar just open terminal and type:
## SASS Settings
-To use the sass convert features you don't need to do anything different, but I guess most people are like me and have a folder for sass files and another for css. To make the sass go into your css folder you will need to change the preferences.
+To use the sass convert features you don't need to do anything different, but I guess most people are like me and have a
+folder for sass files and another for css. To make the sass go into your css folder you will need to change the
+preferences.
+
+### For Espresso 1
+
+Open Espresso's preferences and navigate to Advanced. Then in the table called 'Custom shell variables', add an entry
+with name `SASS_DIRECTORY`, and set the value to the name of the folder you usually use for .sass files (eg. I set
+it to `_sass`). Then add another called `CSS_DIRECTORY` and set the value to the folder you usually use for css
+files (eg. `css`).
+
+__NOTE__: You cannot set per-project settings for this.
+
+### For Espresso 2
+
+There are two options for this:
+
+1. Open `Sass.sugar/Support/create_css.rb` and change the variables being set on lines 9 and 10 to something like:
+
+ sass = '_sass'
+ css = 'css'
+
+2. Or set the variables in your `.bashrc` or `.zshrc` by adding:
+
+ export SASS_DIRECTORY="_sass"
+ export CSS_DIRECTORY="css"
+
-Open Espresso's preferences and navigate to Advanced. Then in the table called 'Custom shell variables', add an entry with name `SASS_DIRECTORY`, and set the value to the name of the folder you usually use for .sass files (eg. I set it to `_sass`). Then add another called `CSS_DIRECTORY` and set the value to the folder you usually use for css files (eg. `css`).
-__NOTE__: You cannot set per-project settings for this.
Please sign in to comment.
Something went wrong with that request. Please try again.