1
0
mirror of https://github.com/danog/2048.git synced 2024-11-26 19:34:44 +01:00

Merge pull request #234 from sigod/contributing

CONTRIBUTING.md: sass --unix-newlines
This commit is contained in:
sigod 2014-12-13 15:28:22 +03:00
commit 999bea39a7

View File

@ -11,7 +11,7 @@ Please follow the house rules to have a bigger chance of your contribution being
- If you want to modify the CSS, please edit the SCSS files present in `style/`: `main.scss` and others. Don't edit the `main.css`, because it's supposed to be generated.
In order to compile your SCSS modifications, you need to use the `sass` gem (install it by running `gem install sass` once Ruby is installed).
To run SASS, simply use the following command:
`sass --watch style/main.scss`
`sass --unix-newlines --watch style/main.scss`
SASS will automatically recompile your css when changed.
- `Rakefile` contains some tasks that help during development. Feel free to add useful tasks if needed.
- Please use 2-space indentation when editing the JavaScript. A `.jshintrc` file is present, which will help your code to follow the guidelines if you install and run `jshint`.