Fix the build script to install all the dependencies
This commit is contained in:
parent
a5f30d0ecc
commit
a9ca053be6
40
build.el
40
build.el
|
@ -21,27 +21,31 @@
|
||||||
;;
|
;;
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(add-to-list 'load-path (concat (getenv "HOME") ".fg42/lib"))
|
(add-to-list 'load-path (concat (getenv "HOME") "/.fg42/lib"))
|
||||||
|
|
||||||
(defvar bootstrap-version nil
|
(require 'fg42)
|
||||||
"Bootstrap version of straight. This var is used in straight's installer.")
|
(require 'fpkg)
|
||||||
|
|
||||||
(defun fpkg-initialize ()
|
(activate-extensions 'editor
|
||||||
"Initilize the straight.e package manager and setup necessary hooks."
|
'development
|
||||||
(let ((bootstrap-file "~/.fg42/.fpkg/straight/repos/straight.el/bootstrap.el")
|
'web
|
||||||
(bootstrap-version 5))
|
'editor-theme
|
||||||
|
'javascript
|
||||||
|
'ruby
|
||||||
|
'clojure
|
||||||
|
'haskell
|
||||||
|
'php
|
||||||
|
'common-lisp
|
||||||
|
'python
|
||||||
|
'serene
|
||||||
|
'typescript
|
||||||
|
'arduino
|
||||||
|
'java
|
||||||
|
'racket
|
||||||
|
'irc
|
||||||
|
'latex)
|
||||||
|
|
||||||
(setq straight-base-dir "~/.fg42/.fpkg/")
|
(fg42-initialize)
|
||||||
(if (not (file-exists-p bootstrap-file))
|
|
||||||
(with-current-buffer
|
|
||||||
(url-retrieve-synchronously
|
|
||||||
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
|
||||||
'silent 'inhibit-cookies)
|
|
||||||
(goto-char (point-max))
|
|
||||||
(eval-print-last-sexp))
|
|
||||||
(load bootstrap-file nil 'nomessage))))
|
|
||||||
|
|
||||||
(fpkg-initialize)
|
|
||||||
|
|
||||||
(provide 'build)
|
(provide 'build)
|
||||||
;;; build.el ends here
|
;;; build.el ends here
|
||||||
|
|
Loading…
Reference in New Issue