-
-
Save canweriotnow/37383cf08d9d66cd4d0f to your computer and use it in GitHub Desktop.
project.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject com.yetanalytics/xapi-schema "0.1.0-SNAPSHOT" | |
:description "Clojure(script) Schema for the Experience API v1.0.3" | |
:url "https://github.com/yetanalytics/xapi-schema" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.7.0-alpha5"] | |
[org.clojure/clojurescript "0.0-3211"] | |
[prismatic/schema "0.4.2"] | |
[cheshire "5.4.0"]] | |
:exclusions [[org.clojure/clojure] | |
[org.clojure/clojurescript]] | |
:plugins [[lein-cljsbuild "1.0.6-SNAPSHOT"] | |
[speclj "3.2.0"]] | |
:profiles {:dev {:dependencies [[speclj "3.2.0"]] | |
:plugins [[com.keminglabs/cljx "0.6.0" :exclusions [org.clojure/clojure]]]}} | |
:cljx {:builds [{:source-paths ["src/cljx"] | |
:output-path "target/classes/clj" | |
:rules :clj} | |
{:source-paths ["src/cljx"] | |
:output-path "target/classes/cljs" | |
:rules :cljs} | |
{:source-paths ["spec/cljx"] | |
:output-path "target/spec/clj" | |
:rules :clj} | |
{:source-paths ["spec/cljx"] | |
:output-path "target/spec/cljs" | |
:rules :cljs}]} | |
:cljsbuild {:builds [{:id "dev" | |
:source-paths ["target/classes/cljs"] | |
:compiler {:output-to "target/js/xapi_schema_dev.js" | |
:optimizations :whitespace | |
:pretty-print true}} | |
{:id "test" | |
:source-paths ["target/classes/cljs" "target/spec/cljs" "spec/clj"] | |
:compiler {:output-to "target/js/xapi_schema_test.js" | |
:optimizations :whitespace | |
:pretty-print true} | |
:notify-command ["phantomjs" "bin/speclj" "target/js/xapi_schema_test.js"]} | |
{:id "test-browser" | |
:source-paths ["target/classes/cljs"] | |
:compiler {:output-to "resources/public/xapi_schema.js" | |
:optimizations :advanced}} | |
{:id "release" | |
:source-paths ["target/classes/cljs"] | |
:compiler {:output-to "target/js/xapi_schema.js" | |
:optimizations :advanced}}] | |
:test-commands {"test" ["phantomjs" "bin/speclj" "target/js/xapi_schema_test.js"]}} | |
:test-paths ["target/classes/clj" "target/spec/clj" "spec/clj"] | |
:prep-tasks [["cljx" "once"] "javac" "compile"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ derpy xapi-schema → λ git master → lein deploy clojars | |
No credentials found for clojars | |
See `lein help deploying` for how to configure credentials to avoid prompts. | |
Username: canweriotnow | |
Password: | |
Wrote /Users/jason/yet/xapi-schema/pom.xml | |
Rewriting src/cljx to target/classes/clj (clj) with features #{clj} and 0 transformations. | |
Rewriting src/cljx to target/classes/cljs (cljs) with features #{cljs} and 1 transformations. | |
Rewriting spec/cljx to target/spec/clj (clj) with features #{clj} and 0 transformations. | |
Rewriting spec/cljx to target/spec/cljs (cljs) with features #{cljs} and 1 transformations. | |
Created /Users/jason/yet/xapi-schema/target/xapi-schema-0.1.0-SNAPSHOT.jar | |
java.lang.ClassCastException: java.lang.String cannot be cast to clojure.lang.IPersistentCollection | |
at clojure.core$conj.invoke (core.clj:83) | |
clojure.core$merge$fn__4314.invoke (core.clj:2759) | |
clojure.core$reduce1.invoke (core.clj:903) | |
clojure.core$reduce1.invoke (core.clj:894) | |
clojure.core$merge.doInvoke (core.clj:2759) | |
clojure.lang.RestFn.invoke (RestFn.java:421) | |
leiningen.deploy$signing_opts.invoke (deploy.clj:110) | |
leiningen.deploy$files_for.invoke (deploy.clj:116) | |
leiningen.deploy$deploy.invoke (deploy.clj:182) | |
clojure.lang.Var.invoke (Var.java:383) | |
clojure.lang.AFn.applyToHelper (AFn.java:156) | |
clojure.lang.Var.applyTo (Var.java:700) | |
clojure.core$apply.invoke (core.clj:626) | |
leiningen.core.main$partial_task$fn__6094.doInvoke (main.clj:263) | |
clojure.lang.RestFn.applyTo (RestFn.java:139) | |
clojure.lang.AFunction$1.doInvoke (AFunction.java:29) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
clojure.core$apply.invoke (core.clj:626) | |
leiningen.core.main$apply_task.invoke (main.clj:313) | |
leiningen.core.main$resolve_and_apply.invoke (main.clj:319) | |
leiningen.core.main$_main$fn__6160.invoke (main.clj:392) | |
leiningen.core.main$_main.doInvoke (main.clj:385) | |
clojure.lang.RestFn.invoke (RestFn.java:421) | |
clojure.lang.Var.invoke (Var.java:383) | |
clojure.lang.AFn.applyToHelper (AFn.java:156) | |
clojure.lang.Var.applyTo (Var.java:700) | |
clojure.core$apply.invoke (core.clj:624) | |
clojure.main$main_opt.invoke (main.clj:315) | |
clojure.main$main.doInvoke (main.clj:420) | |
clojure.lang.RestFn.invoke (RestFn.java:457) | |
clojure.lang.Var.invoke (Var.java:394) | |
clojure.lang.AFn.applyToHelper (AFn.java:165) | |
clojure.lang.Var.applyTo (Var.java:700) | |
clojure.main.main (main.java:37) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment