-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
49 lines (47 loc) · 2.32 KB
/
project.clj
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
;;;; ***********************************************************************
;;;; Copyright (C) 2012 Roger Grantham
;;;;
;;;; All rights reserved.
;;;;
;;;; This file is part of ArsGrammatica
;;;;
;;;; ArsGrammatica 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 3 of
;;;; the License, or (at your option) any later version.
;;;;
;;;; ArsGrammatica 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; if not, see
;;;; <http://www.gnu.org/licenses>.
;;;;
;;;; Additional permission under GNU GPL version 3 section 7
;;;;
;;;; If you modify ArsGrammatica, or any covered work, by linking or
;;;; combining it with clojure or clojure.contrib (or a modified
;;;; version of that library), containing parts covered by the terms
;;;; of Eclipse Public License, the licensors of ArsGrammatica grant
;;;; you additional permission to convey the resulting work.
;;;; Corresponding Source for a non-source form of such a combination
;;;; shall include the source code for the parts of clojure,
;;;; clojure.contrib, used as well as that of the covered work.
;;;; ***********************************************************************
(defproject ArsGrammatica "0.0.1-SNAPSHOT"
:description "Ars Grammatica provides Latin morphological and syntactical tutoring and practice."
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/java.jdbc "0.3.5"]
[jline/jline "1.0"]
[org.apache.derby/derby "10.10.1.1"]
[org.clojure/tools.cli "0.3.1"]]
:aliases {"generate" ["run" "-m" "ars.grammatica.build-tasks" "-s" "resources/sql/latin_lexicon.sql" "-d"]}
:aot [ars.grammatica.core ]
:main ars.grammatica.core)
;; TODO: add a build set to create the database if it doesn't exist:
;; 0. Check whether the resources/lexicon database exists, if not:
;; 1. decompress the *.sql.tar.gz scripts under resources/sql
;; 2. invoke $ ij lexiconSetup.sql
;; 3. delete resources/lexicon/tmp if it exists