Posted By

iloveitaly on 07/01/11


Tagged

css Bash less


Versions (?)

Compile All LESS CSS Files


 / Published in: Bash
 

  1. find "$PWD" -name '*.less' | while read line; do
  2. REPLACE=`echo $line | sed "s|\.less|\.css|"`
  3.  
  4. # echo "$line --> $REPLACE"
  5. (lessc "$line" "$REPLACE" &)
  6. done

Report this snippet  

You need to login to post a comment.