-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
56 lines (48 loc) · 2.34 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
49
50
51
52
53
54
55
56
(defproject fif-lang/fif "1.4.0"
:description "Stack-based Programming in Clojure(script)"
:url "http://github.com/benzap/fif"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.520"]
[org.clojure/tools.reader "1.3.2"]
[org.clojure/tools.cli "0.4.2"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-ancient "0.6.15"]
[lein-doo "0.1.10"]]
:repositories [["clojars" {:sign-releases false}]]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:cljsbuild {:builds {:dev
{:source-paths ["src"]
:compiler {:output-dir "resources/public/js/compiled/out"
:output-to "resources/public/js/compiled/fif.js"
:optimizations :whitespace
:pretty-print true
:source-map "resources/public/js/compiled/fif.js.map"}}
:prod
{:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/fif.min.js"
:optimizations :advanced
:pretty-print false}}
:test
{:id "test"
:source-paths ["src" "test"]
:compiler {:output-to "resources/public/js/compiled/test/test-runner.js"
:output-dir "resources/public/js/compiled/test/out"
:main fif.test-runner
:target :nodejs
:optimizations :none}}}}
:doo {:build "test"
:alias {:default [:node]}}
:aliases {"project-version" ["run" "-m" "fif.utils.version/print-project-version"]}
:profiles
{:dev
{:main fif.commandline
:source-paths ["src" "dev" "test"]
:dependencies [[org.clojure/tools.namespace "0.2.11"]]
:repl-options {:init-ns fif.dev.user
:port 9005}}
:uberjar
{:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:main fif.commandline
:aot [fif.core fif.commandline]}})