changeset 178:8ba774291bac

Added run-demo alias to project.clj, disabled reflection warnings (will use lein check).
author Mikhail Kryshen <mikhail@kryshen.net>
date Fri, 18 Sep 2015 17:59:50 +0300
parents f0f11db714f8
children e73174356504
files project.clj
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/project.clj	Fri Sep 18 17:40:25 2015 +0300
+++ b/project.clj	Fri Sep 18 17:59:50 2015 +0300
@@ -3,7 +3,8 @@
   :url "https://bitbucket.org/kryshen/indyvon"
   :license {:name "GNU LGPL version 3"
             :url "http://www.gnu.org/licenses/lgpl-3.0.html"}
-  :warn-on-reflection true
-  ;;:main indyvon.demo
+  ;;:global-vars {*warn-on-reflection* true}
+  :profiles {:demo {:main indyvon.demo}}
+  :aliases {"run-demo" ["with-profile" "demo" "run"]}
   :dependencies [[org.clojure/clojure "1.7.0"]
                  [com.google.guava/guava "18.0"]])