57 lines
2 KiB
Clojure
57 lines
2 KiB
Clojure
(defproject fedit "0.1.0-SNAPSHOT"
|
|
:description "An attempt to reconstruct the Cambridge Lisp 'fedit' in core editor, as a precursor to attempting to reconstruct the InterLisp DEdit editor"
|
|
:url "https://github.com/simon-brooke/fedit"
|
|
:license {:name "GNU General Public License,version 2.0 or (at your option) any later version"
|
|
:url "https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html"}
|
|
:dependencies [[org.clojure/clojure "1.8.0"]
|
|
[org.clojure/clojurescript "1.9.908"]
|
|
[hiccup "1.0.5"]
|
|
[jline "2.11"]
|
|
[markdown-clj "1.0.2"]
|
|
[reagent "0.7.0"]
|
|
[re-frame "0.10.5"]]
|
|
|
|
:plugins [[lein-cljsbuild "1.1.5"]]
|
|
|
|
:min-lein-version "2.5.3"
|
|
|
|
:source-paths ["src/clj" "src/cljc"]
|
|
|
|
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target" "classes" "bin"]
|
|
|
|
:figwheel {:css-dirs ["resources/public/css"]}
|
|
|
|
:profiles
|
|
{:dev
|
|
{:dependencies [[binaryage/devtools "0.9.4"]]
|
|
|
|
:plugins [[lein-figwheel "0.5.13"]]}}
|
|
|
|
:cljsbuild
|
|
{:builds
|
|
[{:id "dev"
|
|
:source-paths ["src/cljs" "src/cljc"]
|
|
:figwheel {:on-jsload "fedit.core/mount-root"}
|
|
:compiler {:main fedit.core
|
|
:output-to "resources/public/js/compiled/app.js"
|
|
:output-dir "resources/public/js/compiled/out"
|
|
:asset-path "js/compiled/out"
|
|
:source-map-timestamp true
|
|
:preloads [devtools.preload]
|
|
:external-config {:devtools/config {:features-to-install :all}}
|
|
}}
|
|
|
|
{:id "min"
|
|
:source-paths ["src/cljs" "src/cljc"]
|
|
:compiler {:main fedit.core
|
|
:output-to "resources/public/js/compiled/app.js"
|
|
:optimizations :advanced
|
|
:closure-defines {goog.DEBUG false}
|
|
:pretty-print false}}
|
|
|
|
|
|
]}
|
|
|
|
|
|
)
|