martinklepsch / tenzing

⚡️ Clojurescript application template using Boot
Eclipse Public License 1.0
403 stars 39 forks source link

Should missing dependencies be warned or provided? #45

Closed ghost closed 8 years ago

ghost commented 8 years ago

I noticed that you can start a project with +sass without having libsass completely set up; it will naturally fail when it gets to the sass compilation step (until you build sassc).

Would it be helpful to have a warning message or an automatic bundling of deps if options like +sass are chosen?

crisptrutski commented 8 years ago

At first I though "this sounds like something to take up at https://github.com/mathias/boot-sassc", but then I thought perhaps your asking for this warning at project generation time, ie. to add some boilerplate instructions related to particular options, that print out once the project is created?

That sounds OK, perhaps you would like to take a stab at writing the copy? :smile:

ghost commented 8 years ago

wow I don't even know where it would go in the code; the cljs build process is still magic to me. But something like

Libsass was not detected on your machine. Please note that builds will fail until you configure a SASS compiler like sassc and place it in your PATH variable.

would be fine.