deploy.sh fails when including LESS files

Description

I am having problems with the less minification in the bootplate.

When using the in-browser compilation everything is fine. Now when I run ./tools/deploy.sh I am getting errors:

(Substituting CSS: ~/Sites/repositories/enyo-less-test/enyo/../lib/onyx/css/onyx.css)
source/Theme.less
(Substituting CSS: source/Theme.css)
Error: ENOENT, no such file or directory 'source/Theme.css'

So the minifier tries to search for a css file. This problem seems to be rooted in

enyo/tools/minifier/minify.js

79: if (isLess && (opt.less !== undefined)) {

If I change this to:

79: if (isLess && (opt.less !== true)) {

the error disappears and the less file get's included.

Environment

OSX 10.7.5

Activity

Show:
Jesse Griffis
January 3, 2013, 12:17 PM

I can confirm this one, same temporary solution.

Kevin Schaaf (Enyo Team)
January 11, 2013, 1:59 AM

Confirmed proposed fix and committed. Thanks for the fix.

John Absalon
February 19, 2013, 12:26 AM

This fix is still not merged into the Bootplate

Travis Webb
April 18, 2013, 4:38 AM

Still broken as of 2.2.0

Assignee

Jascha Dachtera

Reporter

Jascha Dachtera

Labels

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Fix versions

Affects versions

Priority

None
Configure