Add :requires prop to def-bootstrap! & refactor+rewrite bootstrapping

This commit is contained in:
Henrik Lissner 2017-03-25 18:41:29 -04:00
parent 71dbf605ae
commit 72698ca9e8
9 changed files with 84 additions and 55 deletions

View file

@ -18,3 +18,10 @@
(package! sass-mode)
(package! stylus-mode)
;;
(def-bootstrap! web
:requires nodejs
(unless (executable-find "js-beautify")
(sh "npm -g install js-beautify"))
(unless (executable-find "stylelint")
(sh "npm -g install stylelint stylelint-scss")))