making mount boot'iful... [the beginning]
This commit is contained in:
parent
5aac6198d0
commit
ca45d22111
4 changed files with 59 additions and 12 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -15,5 +15,5 @@ doo-index.html
|
|||
*.iml
|
||||
/.idea
|
||||
/.lein-repl-history
|
||||
|
||||
/.nrepl-history
|
||||
|
||||
|
|
|
|||
56
build.boot
Normal file
56
build.boot
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
(set-env!
|
||||
:source-paths #{"src"}
|
||||
:dependencies '[;; dev / examples / test
|
||||
[org.clojure/clojure "1.7.0" :scope "provided"]
|
||||
[org.clojure/clojurescript "1.7.170" :scope "provided"]
|
||||
[datascript "0.13.3" :scope "provided"]
|
||||
[compojure "1.4.0" :scope "provided"]
|
||||
[ring/ring-jetty-adapter "1.1.0" :scope "provided"]
|
||||
[cheshire "5.5.0" :scope "provided"]
|
||||
[hiccups "0.3.0" :scope "provided"]
|
||||
[com.andrewmcveigh/cljs-time "0.3.14" :scope "provided"]
|
||||
[ch.qos.logback/logback-classic "1.1.3" :scope "provided"]
|
||||
[org.clojure/tools.logging "0.3.1" :scope "provided"]
|
||||
[robert/hooke "1.3.0" :scope "provided"]
|
||||
[org.clojure/tools.namespace "0.2.11" :scope "provided"]
|
||||
[org.clojure/tools.nrepl "0.2.11" :scope "provided"]
|
||||
[com.datomic/datomic-free "0.9.5327" :scope "provided" :exclusions [joda-time]]
|
||||
|
||||
;; boot
|
||||
[boot/core "2.5.1" :scope "provided"]
|
||||
[adzerk/bootlaces "0.1.13" :scope "test"]
|
||||
[adzerk/boot-test "1.0.6" :scope "test"]])
|
||||
|
||||
(require '[adzerk.bootlaces :refer :all]
|
||||
'[adzerk.boot-test :as bt])
|
||||
|
||||
(def +version+ "0.1.7-SNAPSHOT")
|
||||
|
||||
(bootlaces! +version+)
|
||||
|
||||
(deftask dev []
|
||||
|
||||
(set-env! :source-paths #(conj % "dev/clj"))
|
||||
|
||||
(defn in []
|
||||
(load-data-readers!)
|
||||
(require 'dev)
|
||||
(in-ns 'dev))
|
||||
|
||||
(comp
|
||||
(watch)
|
||||
(repl))
|
||||
identity)
|
||||
|
||||
(deftask test []
|
||||
(set-env! :source-paths #(conj % "test" "test/clj")) ;; (!) :source-paths must not overlap.
|
||||
(bt/test))
|
||||
|
||||
(task-options!
|
||||
pom {:project 'mount
|
||||
:version +version+
|
||||
:description "managing Clojure and ClojureScript app state since (reset)"
|
||||
:url "https://github.com/tolitius/mount"
|
||||
:scm {:url "https://github.com/tolitius/mount"}
|
||||
:license {"Eclipse Public License"
|
||||
"http://www.eclipse.org/legal/epl-v10.html"}})
|
||||
|
|
@ -1,14 +1,5 @@
|
|||
(ns dev
|
||||
"Tools for interactive development with the REPL. This file should
|
||||
not be included in a production build of the application."
|
||||
(:require [clojure.java.io :as io]
|
||||
[clojure.java.javadoc :refer [javadoc]]
|
||||
[clojure.pprint :refer [pprint]]
|
||||
[clojure.reflect :refer [reflect]]
|
||||
[clojure.repl :refer [apropos dir doc find-doc pst source]]
|
||||
[clojure.set :as set]
|
||||
[clojure.string :as str]
|
||||
[clojure.test :as test]
|
||||
(:require [clojure.pprint :refer [pprint]]
|
||||
[clojure.tools.namespace.repl :as tn]
|
||||
[mount.core :as mount]
|
||||
[app.utils.logging :refer [with-logging-status]]
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
(defproject mount "0.1.7-SNAPSHOT"
|
||||
:description "managing Clojure app state since (reset)"
|
||||
:description "managing Clojure and ClojureScript app state since (reset)"
|
||||
:url "https://github.com/tolitius/mount"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue