Home Download Buy Blog Forum Support

Custom LESS build script for twitter bootstrap

Custom LESS build script for twitter bootstrap

Postby msencenb on Thu Aug 23, 2012 6:31 am

So I'm using twitter bootstrap in one of my projects; however I have cloned from github and am making some custom modifications and need to compile bootstrap.less into bootstrap.css. Currently trying to define a custom build script that always builds bootstrap.less regardless of the file selected... here is what I have so far:

Code: Select all
{
   "cmd": ["lessc","$ProjectDir/src/bootstrap/less/bootstrap.less","$ProjectDir/src/bootstrap/bootstrap.css","--verbose"],
   "selector": "source.css.less",
   "path": "/usr/local/bin:$PATH"
}


However this is the error I'm getting:

[Errno 2] No such file or directory
[cmd: [u'lessc', u'/src/bootstrap/less/bootstrap.less', u'/src/bootstrap/bootstrap.css', u'--verbose']]
[dir: /Users/msencenb/NodeProjects/portfolio/basicportfolio/src/bootstrap/less]
[path: /usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin]
[Finished]

I can manually cd into the 'dir' it spits out so I am a little confused as to what is breaking.. any help would be greatly appreciated.
msencenb
 
Posts: 1
Joined: Thu Aug 23, 2012 2:41 am

Return to Technical Support

Who is online

Users browsing this forum: bwana, Yahoo [Bot] and 24 guests