This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+distributions/spacemacs-docker/deps-install/installers/clojure/install.el
2018-08-29 23:12:02 +03:00

24 lines
818 B
EmacsLisp
Executable file

#!/usr/bin/emacs --script
;;; install.el --- clojure layer dependencies installation script
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; 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)
(install default-jre-headless)
(with-installed (curl)
(! "Installing Leiningen...")
($ ["curl -Lo /usr/local/bin/lein"
"https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein"]
"chown ${UID}:${GID} -R ${UHOME}"
"chmod 755 /usr/local/bin/lein"
"su - ${UNAME} -c 'echo exit | lein repl'"))