[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/39: Initial Checkin
From: |
Phillip Lord |
Subject: |
[elpa] 12/39: Initial Checkin |
Date: |
Mon, 20 Oct 2014 08:22:34 +0000 |
phillord pushed a commit to branch externals/pabbrev
in repository elpa.
commit 1a3ba09712f6f29a5ec3f3276ef3091ef0e4b7bf
Author: Phillip Lord <address@hidden>
Date: Sat Jan 12 15:10:07 2013 +0000
Initial Checkin
---
leiningen.el | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/leiningen.el b/leiningen.el
new file mode 100644
index 0000000..efc0bef
--- /dev/null
+++ b/leiningen.el
@@ -0,0 +1,52 @@
+;;; leiningen.el --- Run leiningen in a compile buffer with completion
+
+;; This file is not part of Emacs
+
+;; Author: Phillip Lord <address@hidden>
+;; Maintainer: Phillip Lord <address@hidden>
+;; Version: 1.0
+
+;; COPYRIGHT NOTICE
+;;
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+;; Commentary:
+;;
+;; Runs leiningen -- a build tool for Clojure -- within a compile buffer.
+;; Useful for testing, gathering dependencies and so on.
+
+;;; Code:
+(defvar leiningen-command "lein")
+
+(defvar leiningen-tasks
+ '("clean" "compile" "deploy" "deps" "do" "help" "install"
+ "jack-in" "jar" "javac" "marg" "new" "plugin" "pom" "repl"
+ "retest" "run" "search" "show-profiles" "swank" "test"
+ "trampoline" "uberjar" "upgrade" "version" "with-profile"))
+
+(defun leiningen ()
+ (interactive)
+ (compile (concat
+ leiningen-command " "
+ (completing-read "Task: " leiningen-tasks))))
+
+
+(provide 'leiningen)
+
+
+;;; leiningen.el ends here
+
+
- [elpa] branch externals/pabbrev created (now e0ac26a), Phillip Lord, 2014/10/20
- [elpa] 04/39: Updated commentary, Phillip Lord, 2014/10/20
- [elpa] 07/39: Added support $$ pass through, which works with an unconfigured asciidoc., Phillip Lord, 2014/10/20
- [elpa] 03/39: Removed SVN keywords, Phillip Lord, 2014/10/20
- [elpa] 10/39: Removed local hook as it's is long obsolete., Phillip Lord, 2014/10/20
- [elpa] 08/39: Minor code tweaks., Phillip Lord, 2014/10/20
- [elpa] 09/39: Added slime mode to excluded modes, Phillip Lord, 2014/10/20
- [elpa] 06/39: Prepared for Marmalade, Phillip Lord, 2014/10/20
- [elpa] 11/39: Initial Checkin, Phillip Lord, 2014/10/20
- [elpa] 12/39: Initial Checkin,
Phillip Lord <=
- [elpa] 16/39: Clojure mode support added., Phillip Lord, 2014/10/20
- [elpa] 15/39: Documentation Updates., Phillip Lord, 2014/10/20
- [elpa] 13/39: Initial Checkin, Phillip Lord, 2014/10/20
- [elpa] 17/39: Version number added. Documentation fix. Indentation fix., Phillip Lord, 2014/10/20
- [elpa] 05/39: Ported from generic.el to define-derived-mode. Comment-character is now "#" rather than fudged "# " Delimited URIs now recognised as strings Electric indentation added. Indentation engine improved., Phillip Lord, 2014/10/20
- [elpa] 20/39: New keywords added., Phillip Lord, 2014/10/20
- [elpa] 18/39: Copes better with missing repos. Improved output., Phillip Lord, 2014/10/20
- [elpa] 19/39: Markdown support added., Phillip Lord, 2014/10/20
- [elpa] 21/39: Exclude nrepl mode., Phillip Lord, 2014/10/20
- [elpa] 14/39: Initial checkin., Phillip Lord, 2014/10/20