branch: elpa/swift-mode commit 48cbf5557b76efcbeacbdb7008765aaaeb4d0964 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Extend a bit installation instructions for package.el --- README.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b16e9a7..4813143 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,37 @@ You can install a snapshot version of `swift-mode` from the [MELPA][] repository. The version of `swift-mode` there will always be up-to-date, but it might be unstable (albeit rarely). -```lisp +You can add MELPA to the list of `package.el` repositories like this: + +```el (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) ``` +#### MELPA Stable + +You can install the last stable version of `swift-mode` from the +[MELPA Stable][] repository. + +You can add MELPA Stable to the list of `package.el` repositories like this: + +```el +(add-to-list 'package-archives '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")) +``` + +*** + +The package installation is as easy as: + ``` M-x package-install swift-mode -M-x package-install flycheck ``` -#### MELPA Stable +If you'd like to get on-the-fly syntax checking you should install +[flycheck][] as well: -You can install the last stable version of `swift-mode` from the -[MELPA Stable][] repository. +``` +M-x package-install flycheck +``` ### Manual