Last active
May 25, 2016 16:30
-
-
Save dnakov/b57ae57828f84c06728ec48cb1a92820 to your computer and use it in GitHub Desktop.
spm-elisp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; function | |
(defun sf-deploy () | |
(interactive) | |
(message "Deploying") | |
(async-shell-command (format "spm deploy --rollbackOnError -F %s" buffer-file-name)) | |
) | |
;; key binding | |
(global-set-key (kbd "M-S") 'sf-deploy) | |
;; expects there to be a .sf file in the root directory where the 'src' dir is | |
;; { | |
;; "username":"<sf_username>", | |
;; "password":"<sf_pass>", | |
;; "endpointUrl":"https://test.salesforce.com", | |
;; "apiVersion":"33.0" | |
;; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment