spacemacs/layers/+tools/sailfish-developer/packages.el
Victor Polevoy 51b04beb26 Add sailfish-developer layer
Provide bindings to the sailfish-scratchbox emacs package via hotkeys.
2019-06-12 15:45:24 +02:00

25 lines
715 B
EmacsLisp

;;; packages.el --- sailfish-developer layer packages file for Spacemacs.
;;
;; Copyright (c) 2017 Sylvain Benner & Contributors
;;
;; Author: Victor Polevoy <fx@thefx.co>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defconst sailfish-developer-packages
'(sailfish-scratchbox))
(defun sailfish-developer/init-sailfish-scratchbox ()
(use-package sailfish-scratchbox
:defer t
:init
(progn
(spacemacs/declare-prefix "cs" "sailfish os developer menu")
(spacemacs/set-leader-keys
"csb" 'sailfish-scratchbox-mb2-build
"csd" 'sailfish-scratchbox-deploy-rpms
"csi" 'sailfish-scratchbox-install-rpms))))