Commit 35c91be1 authored by Alain M. Lafon's avatar Alain M. Lafon

Revert "bring back copy :("

This reverts commit 2f51d984.
parent 4b09c315
......@@ -12,7 +12,6 @@
[org.clojure/data.json "0.2.6"]
[deraen/boot-sass "0.3.1"]
[fsdb "0.1.1-SNAPSHOT"]
[cpmcdaniel/boot-copy "1.0"]
[camel-snake-kebab "0.4.0"]])
(require '[boot.core :as boot]
......@@ -28,7 +27,6 @@
'[clojure.data.json]
'[clj-http.client]
'[fsdb.core :as fsdb]
'[cpmcdaniel.boot-copy :refer :all]
'[deraen.boot-sass :refer [sass]]
'[clojure.string :refer [split]]
'[clojure.java.shell :as shell])
......@@ -56,10 +54,6 @@
(apply shell/sh (split cmd #" "))))
(task-options!
copy {:output-dir "target/public"
;; TODO: Make this regexp more readable. It has three parts:
;; google search console + favicon stuff + other assets.
:matching #{#"(google.*\.html|safari-pinned-tab\.svg|favicon\.ico|browserconfig\.xml|manifest\.json|\.htaccess)|\.(css|js|png|jpg|svg|gif|pdf)$" #".well-known"}}
slack {:url "https://hooks.slack.com/services/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"})
(defn slug-fn
......@@ -240,10 +234,8 @@
;;(print-meta)
(sass)
(target)
(copy) ; oldschool
;; newschool: rsyncs everything in assets/ to target/public/
;;(shellout :cmd "rsync -a assets/ target/public/")
))
;; rsyncs everything in assets/ to target/public/
(shellout :cmd "rsync -a assets/ target/public/")))
(deftask dev
[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment