This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgrails-projectile-config.el
111 lines (85 loc) · 3.48 KB
/
grails-projectile-config.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
;;; grails-projectile-config.el --- Configuration for Grails Projectile.
;; Copyright (C) 2013-2016 Rimero Solutions and contributors.
;; Author: Yves Zoundi <[email protected]>
;; This file is not part of GNU Emacs.
;; This 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 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 GNU Emacs; see the file COPYING. If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
;;; Code:
(defconst grails-projectile-version-info "1.1.2" "Grails Projectile version")
(defgroup grails-projectile nil
"Projectile utilities for Grails projects."
:prefix "grails-projectile"
:group 'projectile)
;;;_. Customizations
(defcustom grails-projectile-keymap-prefix (kbd "C-c ;")
"Grails Projectile keymap prefix."
:group 'grails-projectile
:type 'string)
(defcustom grails-projectile-mode-line " Grails"
"Grails projectile modeline."
:type 'string
:group 'grails-projectile)
(defconst grails-projectile-executable-suffix
(if (eq system-type 'windows-nt)
".bat" "")
"Suffix for the Grails executable file.")
(defcustom grails-projectile-compilation-buffer-name "*Grails*"
"Buffer name for Grails commands."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-use-grails-wrapper t
"Use the Grails wrapper whenever available."
:type 'boolean
:group 'grails-projectile)
(defcustom grails-projectile-output-opts ""
"Output options such as --plain-output."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-cmd-opts ""
"Grails command line options."
:type 'string
:group 'grails-projectile)
(defconst grails-projectile-wrapper-filename "grailsw" "Grails Wrapper file name.")
(defcustom grails-projectile-filename ".grails-projectile"
"Project file to define custom grails command and JVM options.
The contents of this file override both grails-projectile-cmd-opts and grails-jvm-opts.
Everything must hold within a single line, no newline at the end of the file."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-jvm-opts ""
"Grails command line options"
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-executable "grails"
"Path to Grails executable.
By default, it's assumed that grails is in your PATH variable."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-url-wikidocs "http://grails.org/Documentation"
"Grails Wiki documentation URL."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-url-apidocs "http://grails.org/doc/latest/api/"
"Grails documentation URL."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-plugins-base-url "http://grails.org/plugins/"
"Grails plugins base URL."
:type 'string
:group 'grails-projectile)
(defcustom grails-projectile-url-guide "http://grails.org/doc/latest/guide/single.html"
"Grails Latest Guide URL."
:type 'string
:group 'grails-projectile)
(provide 'grails-projectile-config)
;;; grails-projectile-config.el ends here