Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portable core namespace #12

Merged
merged 5 commits into from
Feb 19, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,41 @@
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[com.firebase/firebase-client-jvm "2.2.0"]

[cljsjs/firebase "2.1.2-1"]]
[cljsjs/firebase "2.1.2-1"]

[com.keminglabs/cljx "0.5.0" :exclusions [com.cemerick/piggieback]]
[com.cemerick/piggieback "0.1.5"]]
:deploy-repositories [["releases" :clojars]]

:plugins [[lein-cljsbuild "1.0.3" :scope "test"]
[com.cemerick/clojurescript.test "0.3.1" :scope "test"]]
:repl-options {:nrepl-middleware
[cljx.repl-middleware/wrap-cljx
cemerick.piggieback/wrap-cljs-repl]}

:repl-options {:nrepl-middleware [cljx.repl-middleware/wrap-cljx]}
:plugins [[lein-cljsbuild "1.0.3" :scope "test"]
[com.cemerick/clojurescript.test "0.3.1" :scope "test"]
[com.keminglabs/cljx "0.5.0" :exclusions [com.cemerick/piggieback]]
[com.cemerick/piggieback "0.1.5"]]

:jar-exclusions [#"\.cljx|\.swp|\.swo|\.DS_Store"]

:profiles {:dev {:dependencies [[om "0.7.3"]]
:plugins [[com.keminglabs/cljx "0.5.0"]]}}
:auto-clean false

:aliases {"test-all" ["do" "test," "cljsbuild" "once" "test"]
"auto-test" ["do" "clean," "cljsbuild" "auto" "test"]}
:profiles {:dev {:dependencies [[om "0.7.3"]]
:plugins [[com.keminglabs/cljx "0.5.0"]]
:aliases {"test-all" ["do" "cljx" "once,"
"test,"
"cljsbuild" "once" "test"]}}}

:aot [sunog.clojure.android-stub]

:cljsbuild {:builds [{:id "om-value-changes"
:source-paths ["examples/cljs/om-value-changes/src" "src"]
:source-paths ["examples/cljs/om-value-changes/src" "src" "target/classes"]
:compiler {:output-to "examples/cljs/om-value-changes/main.js"
:output-dir "examples/cljs/om-value-changes/out"
:source-map true
:optimizations :none }}
{:id "test"
:source-paths ["src", "test"]
:source-paths ["src", "test", "target/classes"]
:notify-command ["phantomjs" :cljs.test/runner "target/cljs/test.js"]
:compiler {:output-to "target/cljs/test.js"
:optimizations :whitespace
Expand Down
4 changes: 2 additions & 2 deletions src/sunog/async.cljs → src/sunog/async.cljx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns sunog.async
(:require [sunog.core :as p]
[cljs.core.async :refer [<! >! chan put! close!]])
(:require-macros [cljs.core.async.macros :refer [go go-loop]]))
#+clj [clojure.core.async :refer [<! >! chan put! close!]]
#+cljs [cljs.core.async :refer [<! >! chan put! close!]]))

(defn with-chan
"Call a function with a fresh channel, then return the channel"
Expand Down
178 changes: 0 additions & 178 deletions src/sunog/clojure/core.clj

This file was deleted.

Loading