diff --git a/src/cryogen_core/classpath_able_io.clj b/src/cryogen_core/classpath_able_io.clj new file mode 100644 index 0000000..27e1c58 --- /dev/null +++ b/src/cryogen_core/classpath_able_io.clj @@ -0,0 +1,4 @@ +(ns cryogen-core.classpath-able-io + (:require [clojure.java.io :as io] + [clojure.string :as s] + [me.raynes.fs :as fs])) diff --git a/test-resources/js/dummy.js b/test-resources/js/dummy.js new file mode 100644 index 0000000..e69de29 diff --git a/test/cryogen_core/classpath_able_io_test.clj b/test/cryogen_core/classpath_able_io_test.clj new file mode 100644 index 0000000..c0470c2 --- /dev/null +++ b/test/cryogen_core/classpath_able_io_test.clj @@ -0,0 +1,14 @@ +(ns cryogen-core.classpath-able-io-test + (:require [clojure.test :refer :all] + [clojure.string :as s] + [cryogen-core.io :as sut])) + +(def theme "bootstrap4-test") + +(def target "target/tmp") + +(deftest test-copy-resources-from-theme + (is (do + (sut/copy-resources-from-theme theme target) + (verify-dir-exists (str target "/js") + (verify-file-exists (str target "/js/dummy.js"))))) \ No newline at end of file