Enough is enough.
This commit is contained in:
parent
85b84bc4fa
commit
39732d5b64
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ Neither group-id nor artifact-id may contain slashes."
|
|||
|
||||
(defn new
|
||||
([project-name project-dir]
|
||||
(when (re-find #"(?<!clo)jure" project-name)
|
||||
(throw (IllegalArgumentException. "*jure names are no longer allowed.")))
|
||||
(let [project-name (symbol project-name)
|
||||
group-id (namespace project-name)
|
||||
artifact-id (name project-name)]
|
||||
|
|
Loading…
Reference in a new issue