Changes between Initial Version and Version 2 of Ticket #2951


Ignore:
Timestamp:
10/02/12 10:50:30 (19 months ago)
Author:
icmurray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2951 – Description

    initial v2  
    2020 
    2121to run this paster command, `Node` will be required.  So that dependency should be checked. 
     22 
     23## The paster command 
     24 
     25This is the proposed behaviour of the paster command: 
     26 
     27 - ensure `custom.less` does not exist 
     28 - for each colour in{fuchsia,green,maroon,red}: 
     29    - generate a `custom.less` file for $colour.  There's a paster command that does this already: `paster color <color name>. 
     30    - generate the `css` from the `less` files.  ie - the equivelant of running `bin/less --production`. 
     31      - this will generate a `main.css` file, which should be renamed to `$color.css`. 
     32 
     33 - ensure `custom.less` does not exist 
     34 - generate the `css` from the `less` files.  This will create a `main.css` with the default colour scheme. 
     35 
     36 - call the paster command that minifies css and js files.  (This command does not exist yet, see #2950)