-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
42 lines (29 loc) · 1.55 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
(defproject name.trofimov/static-website-clojure "1.0.0-SNAPSHOT"
:dependencies [[hiccup "1.0.5"]
[me.raynes/fs "1.4.6"]
[nrepl "0.8.0"]
[org.clojure/clojure "1.10.1"]
[ring "1.8.1"]
[stasis "2.5.0"]]
:plugins [[lein-ring "0.12.5"]
[lein-shell "0.5.0"]]
:clean-targets ^{:protect false} ["release"]
:shell {:commands {"node_modules/.bin/postcss"
{:windows "node_modules/.bin/postcss.cmd"}}}
:aliases {"css-dev" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "resources/public/app/main.css"]
"css-dev-auto" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "resources/public/app/main.css"
"--watch" "--poll" "300"]
"css-release" ["shell" "node_modules/.bin/postcss"
"tailwind/app/main.css" "-o" "release/app/main.css"
"--config" "tailwind/release/"]
"build-site" ["run" "-m" "dev.builder/build-site"]
"release" ["do" "clean," "build-site," "css-release"]}
:ring {:host "website.localtest.me"}
:profiles {:dev {:ring {:handler dev.server/ring-handler
:auto-refresh? true
:nrepl {:start? true}}}
:test-release {:resource-paths ["release"]
:ring {:handler dev.server/test-release-handler}}
:css {:source-paths ["tailwind"]}})