Rev | Line | |
---|
[483] | 1 | ## Bug Reports |
---|
| 2 | |
---|
| 3 | - Please create a short test case |
---|
| 4 | - Test with the latest version |
---|
| 5 | - indicate how you use less - browser/lessc/external tool |
---|
| 6 | |
---|
| 7 | ## Feature Requests |
---|
| 8 | |
---|
| 9 | - Please search feature requests to see if something similar exists already |
---|
| 10 | - include a use-case - we do not add language features without a reason |
---|
| 11 | - consider whether your language feature would be better as a function |
---|
| 12 | |
---|
| 13 | ## Pull Requests |
---|
| 14 | |
---|
| 15 | Thankyou! Please take the time to read these guidelines |
---|
| 16 | |
---|
| 17 | - Consider adding a feature request first to see if people are pro or con |
---|
| 18 | - do not change the dist/ folder - we do this when releasing |
---|
| 19 | - tests - please add tests for your work. use `make test` to see if they pass |
---|
| 20 | - spaces not tabs |
---|
| 21 | - end lines in semi-colons - loosely aim towards jslint standards |
---|
| 22 | |
---|
| 23 | ## Developing |
---|
| 24 | |
---|
| 25 | 1. install cygwin - http://cygwin.com/install.html |
---|
| 26 | - default options + |
---|
| 27 | - Devel -> Make |
---|
| 28 | -> Git |
---|
| 29 | 2. install node.js - http://nodejs.org/ |
---|
| 30 | 3. install phantomJS - http://phantomjs.org/download.html |
---|
| 31 | - copy to a directory of your choice |
---|
| 32 | - (windows) modify the path directory to include whereever you have copied it |
---|
| 33 | 4. clone the repository and download to local computer |
---|
| 34 | 5. run `npm install -g diff` to get diffs in your tests |
---|
| 35 | |
---|
| 36 | `lessc or node bin/lessc` |
---|
| 37 | |
---|
| 38 | to run the less compiler |
---|
| 39 | |
---|
| 40 | `make test` |
---|
| 41 | |
---|
| 42 | runs the node tests |
---|
| 43 | |
---|
| 44 | `make browser-test` |
---|
| 45 | |
---|
| 46 | runs the headless browser tests |
---|
| 47 | |
---|
| 48 | `make browser-test-server` |
---|
| 49 | |
---|
| 50 | sets up the server for the headless tests.. then go to http://localhost:8081/browser/test-runner-main.htm or one of the other test runner pages created in /test/browser/ |
---|
Note: See
TracBrowser
for help on using the repository browser.