[Github] Do not install forge pacakge on Windows by default
This commit is contained in:
parent
e1e972ec7c
commit
015414ae8c
|
@ -1490,6 +1490,8 @@ Other:
|
||||||
**** GitHub
|
**** GitHub
|
||||||
- Packages:
|
- Packages:
|
||||||
- Added new packages =forge= (thanks to Miciah Dashiel Butler Masters)
|
- Added new packages =forge= (thanks to Miciah Dashiel Butler Masters)
|
||||||
|
- Do not install =forge= on Windows by default, see =README.org= of the layer
|
||||||
|
(thanks to Sylvain Benner)
|
||||||
- Remove package =github-browse-file= which has been replaced by
|
- Remove package =github-browse-file= which has been replaced by
|
||||||
=browse-at-remote= in =version-control= layer
|
=browse-at-remote= in =version-control= layer
|
||||||
- Key bindings:
|
- Key bindings:
|
||||||
|
|
|
@ -10,8 +10,9 @@
|
||||||
- [[#install][Install]]
|
- [[#install][Install]]
|
||||||
- [[#layer][Layer]]
|
- [[#layer][Layer]]
|
||||||
- [[#git-configuration][Git configuration]]
|
- [[#git-configuration][Git configuration]]
|
||||||
|
- [[#forge][Forge]]
|
||||||
- [[#key-bindings][Key bindings]]
|
- [[#key-bindings][Key bindings]]
|
||||||
- [[#forge][forge]]
|
- [[#forge-1][Forge]]
|
||||||
- [[#gistel][gist.el]]
|
- [[#gistel][gist.el]]
|
||||||
- [[#clone-repositories][Clone repositories]]
|
- [[#clone-repositories][Clone repositories]]
|
||||||
|
|
||||||
|
@ -41,8 +42,21 @@ You will also need to [[https://help.github.com/articles/generating-a-new-ssh-ke
|
||||||
git config --global github.oauth-token <token>
|
git config --global github.oauth-token <token>
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Forge
|
||||||
|
The =forge= package uses =emacsql= which requires a C compiler to be available
|
||||||
|
on MS Windows, see issue https://github.com/skeeto/emacsql/issues/46.
|
||||||
|
|
||||||
|
For this reason the =forge= package is not installed on MS Windows by default.
|
||||||
|
If you still want to install it (which means you do have a C compiler available
|
||||||
|
in your PATH) then use the =dotspacemacs-additional-packages= variable in your
|
||||||
|
dotfile:
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(dotspacemacs-additional-packages '((forge :toggle t)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Key bindings
|
* Key bindings
|
||||||
** forge
|
** Forge
|
||||||
In a =magit-status= buffer (~SPC g s~):
|
In a =magit-status= buffer (~SPC g s~):
|
||||||
|
|
||||||
| Key binding | Description |
|
| Key binding | Description |
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
|
|
||||||
(setq github-packages
|
(setq github-packages
|
||||||
'(
|
'(
|
||||||
forge
|
;; forge requires a C compiler on Windows so we disable
|
||||||
|
;; it by default on Windows.
|
||||||
|
(forge :toggle (not (spacemacs/system-is-mswindows)))
|
||||||
gist
|
gist
|
||||||
github-clone
|
github-clone
|
||||||
github-search
|
github-search
|
||||||
|
|
Loading…
Reference in a new issue