Closed Fishrock123 closed 10 years ago
Yeah it's a global dep. I need to not make it global so package.json
can install it.
In any case, npm install -g less
.
Seems like it can be installed per-project? https://github.com/less/less.js#getting-started That might not work with cake's way of executing commands, however.
Is it possible to inform the user if the command does not exist during the build?
Sorry, I'm not terribly familiar with either less
or cake
. :/
Yes, it's possible. I use the command-line lessc
utility to compile it, so less.js
wouldn't help much. I should just change the cake styles
command to use a locally-install npm package and add it to package.json
.
I'm new to coffeescript so feel free to tell me if its ugly. Also, no worries if you don't feel like doing it this way. Just saw the issue and thought this project was pretty cool. Wanted to say thanks for sharing it.
cake styles
blank-overrides the build css files.It seems as if
lessc
wasn't added as a dependancy?