ANT script to compile all (css) LESS files in a dir and subdirs with RHINO

前端 未结 6 641
日久生厌
日久生厌 2020-12-05 09:03

I want do compile all *.less scripts in a specific folder and it subdirs with less-rhino-1.1.3.js.

There is an example on github for d

6条回答
  •  悲哀的现实
    2020-12-05 09:12

    I was unable to get this to run using a JDK 1.6 since the javascript stuff has been incorporated to the JDK. The JDK does have a jrunscript executable in the distribution but when I try to run the less-rhino.js file it fails to recognize any readFile() function. Has anyone looked into that. Otherwise I may be giving the lesscss-engine a shot and enhancing it to understand filesets.

提交回复
热议问题