-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update clojurescript & deps. Add datascript & rum
* Reuse of `compiler-env` for faster increment re-compilation. * Support of foreign-deps https://github.com/clojure/clojurescript/wiki/Foreign-Dependencies * Fixed keywords with double colon prefix '::' Latest change requires re-import database if lib uses double colon keywords. (for `example` rum or `datascript`)
- Loading branch information
Sergey Rublev
committed
Feb 22, 2015
1 parent
9565ccf
commit f70dcec
Showing
7 changed files
with
106 additions
and
41 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(ns cljsfiddle.compiler | ||
(:require [cljs.closure :as closure] | ||
[cljs.js-deps :as deps] | ||
[cljs.env :as cljs-env] | ||
[cljs.compiler :as compiler])) | ||
|
||
|
||
(let [ups-deps (closure/get-upstream-deps) | ||
opts {:ups-libs (:libs ups-deps) | ||
:ups-foreign-libs (:foreign-libs ups-deps) | ||
:ups-externs (:externs ups-deps)} | ||
|
||
env (cljs-env/default-compiler-env opts)] | ||
|
||
(swap! env assoc :js-dependency-index (deps/js-dependency-index opts)) | ||
|
||
(def compiler-env env)) |
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
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
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
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