2017-03-05 08:38:15 +00:00
|
|
|
#!/usr/bin/emacs --script
|
|
|
|
;;; install.el --- html layer dependencies installation script
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
2017-03-05 08:38:15 +00:00
|
|
|
;;
|
|
|
|
;; Author: Eugene "JAremko" Yaremenko <w3techplayground@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(load (expand-file-name "../../lib/deps-install-helpers.el"
|
|
|
|
(file-name-directory
|
|
|
|
load-file-name)) nil t)
|
|
|
|
|
2017-07-22 21:51:52 +00:00
|
|
|
(with-installed (git curl software-properties-common)
|
|
|
|
($ "add-apt-repository ppa:brightbox/ruby-ng"
|
|
|
|
"apt-get update")
|
2018-05-15 11:42:33 +00:00
|
|
|
(install ruby ruby-all-dev npm)
|
2017-03-05 08:38:15 +00:00
|
|
|
(!"Installing npm stuff...")
|
|
|
|
($ "npm cache clean -f"
|
|
|
|
"npm install -g n"
|
|
|
|
"n stable"
|
|
|
|
"curl -L https://npmjs.org/install.sh | sh"
|
|
|
|
"npm install csslint -g"
|
|
|
|
"npm install pug"
|
|
|
|
"npm install pug-cli -g"
|
|
|
|
"npm install pug-lint -g")
|
|
|
|
(!"Installing ruby stuff...")
|
|
|
|
($ "gem install rubygems-update"
|
|
|
|
"update_rubygems"
|
|
|
|
"gem update --system"
|
|
|
|
"gem install rake"
|
|
|
|
"gem install slim"
|
|
|
|
"gem install slim_lint"
|
|
|
|
"gem install sass"
|
|
|
|
"gem install specific_install"
|
|
|
|
["gem specific_install"
|
|
|
|
"https://github.com/brigade/scss-lint.git"]
|
|
|
|
["gem specific_install"
|
|
|
|
"https://github.com/Sweetchuck/scss_lint_reporter_checkstyle.git"]))
|