berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

Twitter Bootstrap won't build #3

Closed tcrosen closed 12 years ago

tcrosen commented 12 years ago

I'm not sure if this is your issue or not, but the Twitter Bootstrap LESS files won't build using your compiler. They do build using the LESS compiler and Node.js. I'd have to see the source of your custom EXE to identify where the issue is coming from.

[Compile]
C:\xxxx\site.less -> C:\xxxx\site.css

Expected '}' on line 396 in file 'bootstrap/mixins.less':
[395]: .reset-filter() {
[396]:   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
       --^
[397]: }[Done]
[Finished]
berfarah commented 12 years ago

That's the less compiler, not me. :) it's finding issues with the code. Bernardo Farah Sent from my mobile On Mar 22, 2012 1:51 PM, "Terry Rosen" <reply@reply.github.com (mailto:reply%2Bi-3762974-12588ffc3e222baf6c9113e313d1f52fccb8b8ee-1395723@reply.github.com)> wrote:

I'm not sure if this is your issue or not, but the Twitter Bootstrap LESS files won't build using your compiler. They do build using the LESS compiler and Node.js. I'd have to see the source of your custom EXE to identify where the issue is coming from.

   [Compile]
   C:\xxxx\site.less -> C:\xxxx\site.css

   Expected '}' on line 396 in file 'bootstrap/mixins.less':
   [395]: .reset-filter() {
   [396]:   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
          --^
   [397]: }[Done]
   [Finished]

Reply to this email directly or view it on GitHub: https://github.com/berfarah/LESS-build-sublime/issues/3

tcrosen commented 12 years ago

I had thought so, but the LESS compiler works fine on its own...

> ./lessc "/test/bootstrap/bootstrap.less" > "/test/bootstrap.css"
> 
berfarah commented 12 years ago

That is odd, will look into it

Bernardo Farah Sent from my mobile On Mar 22, 2012 3:08 PM, "Terry Rosen" < reply@reply.github.com> wrote:

I had thought so, but the LESS compiler works fine on its own...

./lessc "/test/bootstrap/bootstrap.less" > "/test/bootstrap.css"


Reply to this email directly or view it on GitHub:

https://github.com/berfarah/LESS-build-sublime/issues/3#issuecomment-4640153

tcrosen commented 12 years ago

Apparently it's a known issue:

https://github.com/marklagendijk/WinLess/issues/1

prela commented 12 years ago

It seams that SimpLESS solved this issue by loading latest less.js. Is there solution like this for Less build sublime?

berfarah commented 12 years ago

I've been using dotLESS for the build system on Windows – I'll make sure it's updated to the latest version, and if this doesn't fix it, I'll look into WinLess as an alternative build system.

berfarah commented 12 years ago

I've updated dotless, sorry for the delay!

lemonkiwis commented 12 years ago

Is there any way to change the directory in which the compiled CSS file saves? Currently it outputs to the myproject/less directory (same directory the less file being compiled is located in), but I'd like for it to out put to the myproject/css directory. I tried changing ${file_path}/${file_base_name}.css but it seemed to have no effect.

imaginethepoet commented 12 years ago

I have the same question as idliketofly - I'd like to be able to change the ouput directory of the build file to go right into my css/ folder - Eliminates a copy step.

rudasn commented 12 years ago

What is the status for this issue? On Mac using less-1.3.0 (npm) and most recent bootstrap version. It appears that the problem is on the file mixins.less on line 536:

.spanX (@index) when (@index > 0) {
    (~".span@{index}") { .span(@index); }
     .spanX(@index - 1);
}
palpalani commented 12 years ago

@rudasn: i am getting same error on Windows with SimpleLESS.

Line no 550

jess-sol commented 12 years ago

I've just tested the newest version of bootstrap with the included less compiler for windows, and it works correctly; so I'm going to mark this closed.